Debian Codegraph @

Lib/_pyrepl/mypy.ini

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