mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
15 lines
370 B
INI
15 lines
370 B
INI
[mypy]
|
|
files =
|
|
Tools/build/compute-changes.py,
|
|
Tools/build/generate_sbom.py
|
|
pretty = True
|
|
|
|
# Make sure Python can still be built
|
|
# using Python 3.10 for `PYTHON_FOR_REGEN`...
|
|
python_version = 3.10
|
|
|
|
# ...And be strict:
|
|
strict = True
|
|
extra_checks = True
|
|
enable_error_code = ignore-without-code,redundant-expr,truthy-bool,possibly-undefined
|
|
warn_unreachable = True
|