mirror of
https://github.com/davidhalter/django-stubs.git
synced 2026-10-11 07:39:18 +08:00
add linting stubs with flake8-pyi and check for unused imports (#186)
This commit is contained in:
1 parent
7407b93151
commit
963d50c717
91 files changed
+139
-176
No files matched your search
@@ -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,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,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
|
||||
|
||||
|
||||
Reference in new issue
Block a user