|
| 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 | +# FIXME: disable ignore_missing_imports |
| 8 | +ignore_missing_imports = true |
| 9 | + |
| 10 | +# Disallow dynamic typing |
| 11 | +# FIXME: enable disallow_any_generics |
| 12 | +disallow_any_generics = false |
| 13 | +# FIXME: enable disallow_subclassing_any |
| 14 | +disallow_subclassing_any = false |
| 15 | + |
| 16 | +# Untyped definitions and calls |
| 17 | +# FIXME: enable disallow_untyped_calls |
| 18 | +disallow_untyped_calls = false |
| 19 | +# FIXME: enable disallow_untyped_defs |
| 20 | +disallow_untyped_defs = false |
| 21 | +disallow_incomplete_defs = true |
| 22 | +# FIXME: enable check_untyped_defs |
| 23 | +check_untyped_defs = false |
| 24 | +disallow_untyped_decorators = true |
| 25 | + |
| 26 | +# None and Optional handling |
| 27 | +# FIXME: disable implicit_optional |
| 28 | +implicit_optional = true |
| 29 | +# FIXME: enable strict_optional |
| 30 | +strict_optional = false |
| 31 | + |
| 32 | +# Configuring warnings |
| 33 | +warn_redundant_casts = true |
| 34 | +warn_unused_ignores = true |
| 35 | +warn_no_return = true |
| 36 | +warn_return_any = true |
| 37 | +warn_unreachable = true |
| 38 | + |
| 39 | +# Miscellaneous strictness flags |
| 40 | +# FIXME: disable implicit_reexport |
| 41 | +implicit_reexport = true |
| 42 | +# FIXME: enable strict_equality |
| 43 | +strict_equality = false |
| 44 | + |
| 45 | +# Configuring error messages |
| 46 | +show_error_context = true |
| 47 | +show_column_numbers = true |
| 48 | +show_error_codes = true |
| 49 | +pretty = true |
| 50 | +color_output = true |
| 51 | +show_absolute_path = true |
| 52 | + |
| 53 | +# Miscellaneous |
| 54 | +# FIXME: disable allow_untyped_globals |
| 55 | +allow_untyped_globals = true |
| 56 | +warn_unused_configs = true |
| 57 | +verbosity = 0 |
| 58 | + |
| 59 | +# FIXME: remove this section |
| 60 | +[mypy-kazoo.tests.util,kazoo.exceptions] |
| 61 | +ignore_errors = true |
0 commit comments