| 1 | [mypy] |
| 2 | python_version = 3.12 |
| 3 | |
| 4 | show_column_numbers = True |
| 5 | show_error_codes = True |
| 6 | |
| 7 | follow_imports = normal |
| 8 | ignore_missing_imports = True |
| 9 | |
| 10 | # Exclude directories |
| 11 | exclude = ^(\.venv|venv|env)/ |
| 12 | |
| 13 | # be strict |
| 14 | disallow_untyped_calls = True |
| 15 | warn_return_any = True |
| 16 | strict_optional = True |
| 17 | warn_no_return = True |
| 18 | warn_redundant_casts = True |
| 19 | warn_unused_ignores = True |
| 20 | |
| 21 | disallow_untyped_defs = True |
| 22 | check_untyped_defs = True |
| 23 | no_implicit_reexport = True |
| 24 | |
| 25 | [mypy-ninja.compatibility.*] |
| 26 | ignore_errors = True |