| 1 |
[mypy] |
| 2 |
|
| 3 |
python_version = 3.10 |
| 4 |
exclude = mypy/typeshed/|mypyc/test-data/|mypyc/lib-rt/ |
| 5 |
|
| 6 |
# Options that affect type checking |
| 7 |
strict = True |
| 8 |
allow_redefinition_new = True |
| 9 |
local_partial_types = True |
| 10 |
disallow_any_unimported = True |
| 11 |
warn_unreachable = True |
| 12 |
enable_error_code = ignore-without-code,redundant-expr |
| 13 |
enable_incomplete_feature = PreciseTupleTypes |
| 14 |
|
| 15 |
# Plugins or custom behaviour |
| 16 |
always_false = MYPYC |
| 17 |
plugins = mypy.plugins.proper_plugin |
| 18 |
|
| 19 |
# Options that affect output |
| 20 |
pretty = True |
| 21 |
show_error_code_links = True |
| 22 |
show_traceback = True |
| 23 |
|
| 24 |
# Miscellaneous |
| 25 |
sqlite_cache = True |
| 26 |
num_workers = 4 |