mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-07 20:54:29 +08:00
fix problems with 0.660
This commit is contained in:
@@ -3,7 +3,7 @@ if not os.path.exists('./django-sources'):
|
||||
git clone -b stable/2.1.x https://github.com/django/django.git django-sources
|
||||
|
||||
ignored_error_patterns = ["Need type annotation for", "already defined on", "Cannot assign to a"]
|
||||
for line in $(mypy --config-file ./scripts/mypy.ini ./django-sources/tests/files).split('\n'):
|
||||
for line in $(mypy --config-file ./scripts/mypy.ini ./django-sources/tests).split('\n'):
|
||||
for pattern in ignored_error_patterns:
|
||||
if pattern in line:
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user