cpython/Tools/clinic/mypy.ini

13 lines
266 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
strict_concatenate = True
enable_error_code = ignore-without-code,redundant-expr,truthy-bool
warn_unreachable = True