33 lines
778 B
INI
33 lines
778 B
INI
[mypy]
|
|
# The mypy configurations: https://mypy.readthedocs.io/en/latest/config_file.html
|
|
python_version = 3.9
|
|
|
|
check_untyped_defs = True
|
|
disallow_any_generics = True
|
|
disallow_untyped_calls = True
|
|
disallow_untyped_decorators = True
|
|
ignore_errors = False
|
|
ignore_missing_imports = True
|
|
follow_imports = silent
|
|
implicit_reexport = False
|
|
strict_optional = True
|
|
strict_equality = True
|
|
no_implicit_optional = True
|
|
warn_unused_ignores = True
|
|
warn_redundant_casts = True
|
|
warn_unused_configs = True
|
|
warn_unreachable = True
|
|
warn_no_return = True
|
|
namespace_packages = True
|
|
disallow_untyped_defs = True
|
|
|
|
files =
|
|
frogress/**/*.py,
|
|
frog_api/**/*.py
|
|
|
|
plugins =
|
|
mypy_django_plugin.main,
|
|
mypy_drf_plugin.main
|
|
|
|
[mypy.plugins.django-stubs]
|
|
django_settings_module = frogress.settings |