Debian Codegraph @

Tools/build/mypy.ini

raw
1 [mypy]
2
3 # Please, when adding new files here, also add them to:
4 # .github/workflows/mypy.yml
5 files =
6 Tools/build/check_extension_modules.py,
7 Tools/build/compute-changes.py,
8 Tools/build/deepfreeze.py,
9 Tools/build/generate_sbom.py,
10 Tools/build/generate_stdlib_module_names.py,
11 Tools/build/verify_ensurepip_wheels.py,
12 Tools/build/update_file.py,
13 Tools/build/umarshal.py
14
15 pretty = True
16
17 # Make sure Python can still be built
18 # using Python 3.10 for `PYTHON_FOR_REGEN`...
19 python_version = 3.10
20
21 # ...And be strict:
22 strict = True
23 extra_checks = True
24 enable_error_code = ignore-without-code,redundant-expr,truthy-bool,possibly-undefined
25 warn_unreachable = True