(args)
| 95 | |
| 96 | |
| 97 | def examples(args): |
| 98 | if not can_run("nox", "--version"): |
| 99 | sys.exit("Examples require the Nox tool (https://nox.thea.codes)") |
| 100 | |
| 101 | if args.name is None: |
| 102 | for manifest in gen_examples("noxfile.py"): |
| 103 | run("nox", "--noxfile", manifest) |
| 104 | else: |
| 105 | run("nox", "--noxfile", f"examples/{args.name}/noxfile.py") |
| 106 | |
| 107 | |
| 108 | def format_(args): |
nothing calls this directly
no test coverage detected