mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00

Replace `strict_concatenate = True` with `extra_checks = True` (GH-126391)
(cherry picked from commit cc4f0a2770
)
Co-authored-by: sobolevn <mail@sobolevn.me>
13 lines
330 B
INI
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
|