Tools/cases_generator/mypy.ini
raw| 1 | [mypy] |
| 2 | files = Tools/cases_generator/ |
| 3 | pretty = True |
| 4 | |
| 5 | # Make sure Python can still be built |
| 6 | # using Python 3.10 for `PYTHON_FOR_REGEN`... |
| 7 | python_version = 3.10 |
| 8 | |
| 9 | # ...And be strict: |
| 10 | strict = True |
| 11 | extra_checks = True |
| 12 | enable_error_code = ignore-without-code,redundant-expr,truthy-bool,possibly-undefined |
| 13 | warn_unreachable = True |
| 14 | allow_redefinition = True |
| 15 | implicit_reexport = True |