mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-15 00:07:09 +08:00
* Adds more rules to mypy config, related #662 * Removes plugin.ini for mypy settings * Fixes build
18 lines
381 B
INI
18 lines
381 B
INI
[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
|
|
|
|
plugins =
|
|
mypy_django_plugin.main
|
|
|
|
[mypy.plugins.django-stubs]
|
|
django_settings_module = scripts.django_tests_settings
|