WIP: fix scripts/typecheck_tests.py (#162)

* 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
This commit is contained in:
Daniel Hahler
2019-09-14 21:23:45 +02:00
committed by Maxim Kurnikov
parent 82e3aa5464
commit e3ea84143f
2 changed files with 23 additions and 7 deletions

View File

@@ -11,4 +11,4 @@ plugins =
mypy_django_plugin.main
[mypy.plugins.django-stubs]
django_settings_module = 'django_tests_settings'
django_settings_module = 'scripts.django_tests_settings'