cpython/Tools/build/mypy.ini
Miss Islington (bot) e1900db82d
[3.13] Replace strict_concatenate = True with extra_checks = True (GH-126391) (#129286)
Replace `strict_concatenate = True` with `extra_checks = True` (GH-126391)
(cherry picked from commit cc4f0a2770)

Co-authored-by: sobolevn <mail@sobolevn.me>
2025-01-25 09:45:22 +00:00

13 lines
330 B
INI

[mypy]
files = 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