Debian Codegraph @

Lib/test/libregrtest/mypy.ini

raw
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]
6 files = Lib/test/libregrtest
7 explicit_package_bases = True
8 python_version = 3.12
9 platform = linux
10 pretty = True
11
12 # Enable most stricter settings
13 enable_error_code = ignore-without-code
14 strict = True
15
16 # Various stricter settings that we can't yet enable
17 # Try to enable these in the following order:
18 disallow_incomplete_defs = False
19 disallow_untyped_calls = False
20 disallow_untyped_defs = False
21 check_untyped_defs = False
22 warn_return_any = False
23
24 # Various internal modules that typeshed deliberately doesn't have stubs for:
25 [mypy-_abc.*,_opcode.*,_overlapped.*,_testcapi.*,_testinternalcapi.*,test.*]
26 ignore_missing_imports = True