mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-07 04:34:29 +08:00
* WIP: fix scripts/typecheck_tests.py Exit non-zero if it fails to run. Currently it fails on CI, but goes unnoticed: https://travis-ci.com/typeddjango/django-stubs/jobs/235296115 * exit on unexpected rc, and output on stderr * Fix * scripts/mypy.ini: django_settings_module=scripts.django_tests_settings
15 lines
301 B
INI
15 lines
301 B
INI
[mypy]
|
|
strict_optional = True
|
|
ignore_missing_imports = True
|
|
check_untyped_defs = True
|
|
warn_no_return = False
|
|
show_traceback = True
|
|
allow_redefinition = True
|
|
incremental = True
|
|
|
|
plugins =
|
|
mypy_django_plugin.main
|
|
|
|
[mypy.plugins.django-stubs]
|
|
django_settings_module = 'scripts.django_tests_settings'
|