(parser: ArgumentParser)
| 31 | |
| 32 | @impl |
| 33 | def tox_add_option(parser: ArgumentParser) -> None: |
| 34 | parser.add_argument( |
| 35 | "--no-provision", |
| 36 | default=False, |
| 37 | const=True, |
| 38 | nargs="?", |
| 39 | metavar="REQ_JSON", |
| 40 | help="do not perform provision, but fail and if a path was provided write provision metadata as JSON to it", |
| 41 | ) |
| 42 | parser.add_argument( |
| 43 | "--no-recreate-provision", |
| 44 | dest="no_recreate_provision", |
| 45 | help="if recreate is set do not recreate provision tox environment", |
| 46 | action="store_true", |
| 47 | ) |
| 48 | parser.add_argument( |
| 49 | "-r", |
| 50 | "--recreate", |
| 51 | dest="recreate", |
| 52 | help="recreate the tox environments", |
| 53 | action="store_true", |
| 54 | ) |
| 55 | |
| 56 | |
| 57 | def provision(state: State) -> int | bool: |
nothing calls this directly
no test coverage detected
searching dependent graphs…