add linting stubs with flake8-pyi and check for unused imports (#186)

This commit is contained in:
Maxim Kurnikov
2019-09-25 02:20:23 +03:00
committed by GitHub
parent 7407b93151
commit 963d50c717
91 changed files with 139 additions and 176 deletions

View File

@@ -1,4 +1,4 @@
from typing import Any, Callable, List, Optional, Type, Union, Tuple, Iterable, overload, TypeVar
from typing import Any, Callable, Iterable, List, Optional, Tuple, Type, TypeVar, Union, overload
from django.core.files.base import File
from django.core.files.images import ImageFile
@@ -6,7 +6,6 @@ from django.core.files.storage import FileSystemStorage, Storage
from django.db.models.base import Model
from django.db.models.fields import Field, _FieldChoices, _ValidatorCallable, _ErrorMessagesToOverride
from django.forms import fields as form_fields
BLANK_CHOICE_DASH: List[Tuple[str, str]] = ...