mirror of
https://github.com/davidhalter/django-stubs.git
synced 2026-10-28 16:43:26 +08:00
various fixes
This commit is contained in:
1 parent
049bb4bfd4
commit
5ba0bbe0b7
13 files changed
+104
-87
No files matched your search
@@ -2,7 +2,7 @@ import os
|
||||
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"]
|
||||
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 pattern in ignored_error_patterns:
|
||||
if pattern in line:
|
||||
|
||||
Reference in new issue
Block a user