1# Config file for running mypy on libregrtest. 2# Run mypy by invoking `mypy --config-file Lib/test/libregrtest/mypy.ini` 3# on the command-line from the repo root 4 5[mypy] 6files = Lib/test/libregrtest 7explicit_package_bases = True 8python_version = 3.12 9platform = linux 10pretty = True 11 12# Enable most stricter settings 13enable_error_code = ignore-without-code 14strict = True 15 16# Various stricter settings that we can't yet enable 17# Try to enable these in the following order: 18disallow_incomplete_defs = False 19disallow_untyped_calls = False 20disallow_untyped_defs = False 21check_untyped_defs = False 22warn_return_any = False 23 24# Various internal modules that typeshed deliberately doesn't have stubs for: 25[mypy-_abc.*,_opcode.*,_overlapped.*,_testcapi.*,_testinternalcapi.*,test.*] 26ignore_missing_imports = True 27