mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-11 06:21:58 +08:00
* Fix manager types scope * Restore incremental mode and mention in developer docs * Separate dev mypy config and regular one * Document config files usage
26 lines
670 B
INI
26 lines
670 B
INI
# Regular configuration file (can be used as base in other projects, runs in CI)
|
|
|
|
# NOTE: this config file is not used by pytest locally.
|
|
# See comment in mypy.ini.dev for explanation.
|
|
|
|
# WARNING: when changing this file, consider doing the same with mypy.ini.dev
|
|
|
|
[mypy]
|
|
allow_redefinition = True
|
|
check_untyped_defs = True
|
|
ignore_missing_imports = True
|
|
incremental = True
|
|
strict_optional = True
|
|
show_traceback = True
|
|
warn_no_return = False
|
|
warn_unused_ignores = True
|
|
warn_redundant_casts = True
|
|
warn_unused_configs = True
|
|
warn_unreachable = True
|
|
|
|
plugins =
|
|
mypy_django_plugin.main
|
|
|
|
[mypy.plugins.django-stubs]
|
|
django_settings_module = scripts.django_tests_settings
|