MCPcopy Index your code
hub / github.com/python/mypy / check_follow_imports

Function check_follow_imports

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

Source from the content-addressed store, hash-verified

146
147
148def 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
159def check_junit_format(choice: str) -> 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…