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

Function set_strict_flags

mypy/main.py:1449–1453  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1447 options.strict_bytes = True
1448
1449 def set_strict_flags() -> None:
1450 nonlocal strict_option_set
1451 strict_option_set = True
1452 for dest, value in strict_flag_assignments:
1453 setattr(options, dest, value)
1454
1455 # Parse config file first, so command line can override.
1456 parse_config_file(options, set_strict_flags, config_file, stdout, stderr)

Callers 1

process_optionsFunction · 0.70

Calls 1

setattrFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…