bidict/mypy.ini

21 lines
529 B
INI

[mypy]
# Be strict about use of Mypy
warn_unused_ignores = True
warn_unused_configs = True
warn_redundant_casts = True
warn_return_any = True
# Avoid subtle backsliding
disallow_incomplete_defs = True
disallow_subclassing_any = True
# does not work with @staticmethod:
# disallow_any_decorated = True
# Enable gradually / for new modules
# check_untyped_defs = False
# disallow_untyped_calls = False
# disallow_untyped_defs = False
# DO NOT use `ignore_errors`; it doesn't apply
# downstream and users have to deal with them.