|
| 1 | +[mypy] |
| 2 | + |
| 3 | +# TODO: For details on each flag, please see the mypy documentation at: |
| 4 | +# https://mypy.readthedocs.io/en/stable/config_file.html#config-file |
| 5 | + |
| 6 | +# Import Discovery |
| 7 | +namespace_packages = true |
| 8 | +# FIXME: disable ignore_missing_imports |
| 9 | +ignore_missing_imports = true |
| 10 | +# FIXME: remove excludes |
| 11 | +exclude = ['tests/'] |
| 12 | + |
| 13 | +# Disallow dynamic typing |
| 14 | +# FIXME: enable disallow_any_generics |
| 15 | +disallow_any_generics = false |
| 16 | +disallow_subclassing_any = true |
| 17 | + |
| 18 | +# Untyped definitions and calls |
| 19 | +# FIXME: enable disallow_untyped_calls |
| 20 | +disallow_untyped_calls = false |
| 21 | +# FIXME: enable disallow_untyped_defs |
| 22 | +disallow_untyped_defs = false |
| 23 | +disallow_incomplete_defs = true |
| 24 | +# FIXME: enable check_untyped_defs |
| 25 | +check_untyped_defs = false |
| 26 | +disallow_untyped_decorators = true |
| 27 | + |
| 28 | +# None and Optional handling |
| 29 | +no_implicit_optional = true |
| 30 | + |
| 31 | +# Configuring warnings |
| 32 | +warn_redundant_casts = true |
| 33 | +warn_unused_ignores = true |
| 34 | +warn_no_return = true |
| 35 | +warn_return_any = true |
| 36 | +warn_unreachable = true |
| 37 | + |
| 38 | +# Miscellaneous strictness flags |
| 39 | +implicit_reexport = false |
| 40 | +strict_equality = true |
| 41 | + |
| 42 | +# Configuring error messages |
| 43 | +show_error_context = true |
| 44 | +show_column_numbers = true |
| 45 | +show_error_codes = true |
| 46 | +pretty = true |
| 47 | +show_absolute_path = true |
| 48 | + |
| 49 | +# Miscellaneous |
| 50 | +warn_unused_configs = true |
| 51 | +verbosity = 0 |
0 commit comments