summaryrefslogtreecommitdiffstats
path: root/Tools/clinic/mypy.ini
blob: b1fdad673c61a10a77f2615b2f67e000dae911a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
[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