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

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

No files matched your search

+1 -2
View File
@@ -1,6 +1,5 @@
from datetime import datetime, timedelta
from decimal import Decimal
from typing import Any, Callable, List, Optional, Pattern, Sequence, Type, Union, Tuple, Iterable
from typing import Any, Callable, Iterable, List, Optional, Pattern, Sequence, Tuple, Type, Union
from django.core.validators import BaseValidator
from django.forms.boundfield import BoundField
+1 -1
View File
@@ -1,4 +1,4 @@
from typing import Any, Dict, Iterator, List, Mapping, Optional, Sequence, Type, Union, Tuple
from typing import Any, Dict, Iterator, List, Mapping, Optional, Sequence, Type, Union
from django.core.exceptions import ValidationError as ValidationError
from django.forms.boundfield import BoundField
-1
View File
@@ -1,7 +1,6 @@
from typing import Any, Dict
from django.template.backends.base import BaseEngine
from django.template.engine import Engine
from django.template import Template