| 1 |
[mypy] |
| 2 |
|
| 3 |
pretty = True |
| 4 |
show_error_codes = True |
| 5 |
|
| 6 |
# this sucks - but most of our packages don't yet have types. |
| 7 |
disable_error_code = import-untyped |
| 8 |
|
| 9 |
no_implicit_optional = True |
| 10 |
disallow_incomplete_defs = True |
| 11 |
strict_equality = True |
| 12 |
|
| 13 |
warn_redundant_casts = True |
| 14 |
# Can't figure out why it sometimes says its ignored - but PyCharm wants it |
| 15 |
warn_unused_ignores = False |
| 16 |
warn_no_return = True |
| 17 |
warn_unreachable = True |
| 18 |
# This false-positives with non-annotated methods (like imported packages) |
| 19 |
warn_return_any = False |
| 20 |
warn_unused_configs = True |
| 21 |
|
| 22 |
[mypy-flask_security.cli] |
| 23 |
# Due to click 8.1.4 |
| 24 |
ignore_errors = True |
| 25 |
|
| 26 |
[mypy-quart.*] |
| 27 |
ignore_missing_imports = True |
| 28 |
[mypy-flask_mailman.*] |
| 29 |
ignore_missing_imports = True |
| 30 |
[mypy-twilio.*] |
| 31 |
ignore_missing_imports = True |