Tools/check-c-api-docs/mypy.ini
raw| 1 | [mypy] |
| 2 | files = Tools/check-c-api-docs/ |
| 3 | pretty = True |
| 4 | |
| 5 | # We need `_colorize` import: |
| 6 | mypy_path = $MYPY_CONFIG_FILE_DIR/../../Misc/mypy |
| 7 | |
| 8 | # Make sure Python can still be built |
| 9 | # using Python 3.13 for `PYTHON_FOR_REGEN`... |
| 10 | python_version = 3.13 |
| 11 | |
| 12 | # ...And be strict: |
| 13 | strict = True |
| 14 | extra_checks = True |
| 15 | enable_error_code = |
| 16 | ignore-without-code, |
| 17 | redundant-expr, |
| 18 | truthy-bool, |
| 19 | possibly-undefined, |