MCPcopy
hub / github.com/python/mypy / check_junit_format

Function check_junit_format

mypy/config_parser.py:159–167  ·  view source on GitHub ↗
(choice: str)

Source from the content-addressed store, hash-verified

157
158
159def check_junit_format(choice: str) -> str:
160 choices = ["global", "per_file"]
161 if choice not in choices:
162 raise argparse.ArgumentTypeError(
163 "invalid choice '{}' (choose from {})".format(
164 choice, ", ".join(f"'{x}'" for x in choices)
165 )
166 )
167 return choice
168
169
170def split_commas(value: str) -> list[str]:

Callers 1

config_parser.pyFile · 0.85

Calls 2

formatMethod · 0.45
joinMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…