MCPcopy Create free account
hub / github.com/python/mypy / get_semanal_options

Function get_semanal_options

mypy/test/testsemanal.py:37–44  ·  view source on GitHub ↗
(program_text: str, testcase: DataDrivenTestCase)

Source from the content-addressed store, hash-verified

35
36
37def get_semanal_options(program_text: str, testcase: DataDrivenTestCase) -> Options:
38 options = parse_options(program_text, testcase, 1)
39 options.use_builtins_fixtures = True
40 options.semantic_analysis_only = True
41 options.show_traceback = True
42 options.python_version = PYTHON3_VERSION
43 options.reveal_verbose_types = True
44 return options
45
46
47class SemAnalSuite(DataSuite):

Callers 4

test_semanalFunction · 0.85
test_semanal_errorFunction · 0.85
run_caseMethod · 0.85
run_caseMethod · 0.85

Calls 1

parse_optionsFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…