(choice: str)
| 146 | |
| 147 | |
| 148 | def check_follow_imports(choice: str) -> str: |
| 149 | choices = ["normal", "silent", "skip", "error"] |
| 150 | if choice not in choices: |
| 151 | raise argparse.ArgumentTypeError( |
| 152 | "invalid choice '{}' (choose from {})".format( |
| 153 | choice, ", ".join(f"'{x}'" for x in choices) |
| 154 | ) |
| 155 | ) |
| 156 | return choice |
| 157 | |
| 158 | |
| 159 | def check_junit_format(choice: str) -> str: |
no test coverage detected
searching dependent graphs…