2023-08-18 22:42:45 +09:00
|
|
|
[mypy]
|
|
|
|
|
files = Tools/cases_generator/
|
|
|
|
|
pretty = True
|
|
|
|
|
|
2023-08-21 00:40:41 +01:00
|
|
|
# Make sure Python can still be built
|
|
|
|
|
# using Python 3.10 for `PYTHON_FOR_REGEN`...
|
2023-08-18 22:42:45 +09:00
|
|
|
python_version = 3.10
|
|
|
|
|
|
2023-08-21 00:40:41 +01:00
|
|
|
# ...And be strict:
|
2023-08-18 22:42:45 +09:00
|
|
|
strict = True
|
2025-01-25 12:44:23 +03:00
|
|
|
extra_checks = True
|
2023-08-25 18:08:29 +01:00
|
|
|
enable_error_code = ignore-without-code,redundant-expr,truthy-bool,possibly-undefined
|
2023-08-21 00:40:41 +01:00
|
|
|
warn_unreachable = True
|
2023-12-07 12:49:40 +00:00
|
|
|
allow_redefinition = True
|
|
|
|
|
implicit_reexport = True
|