mirror of
https://github.com/python/cpython.git
synced 2026-01-06 15:32:22 +00:00
Replace `strict_concatenate = True` with `extra_checks = True` (GH-126391)
(cherry picked from commit cc4f0a2770)
Co-authored-by: sobolevn <mail@sobolevn.me>
12 lines
260 B
INI
12 lines
260 B
INI
[mypy]
|
|
files = Tools/clinic/
|
|
pretty = True
|
|
|
|
# make sure clinic can still be run on Python 3.10
|
|
python_version = 3.10
|
|
|
|
# and be strict!
|
|
strict = True
|
|
extra_checks = True
|
|
enable_error_code = ignore-without-code,redundant-expr,truthy-bool
|
|
warn_unreachable = True
|