mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-09 23:05:50 +08:00
Upgrade to isort 5 (#4323)
This now also reformats imports not at the top of files.
This commit is contained in:
1 parent
1e0e40f61c
commit
5e76f51930
20 files changed
+67
-55
No files matched your search
@@ -41,10 +41,7 @@ from typing import (
|
||||
from . import abc
|
||||
|
||||
if sys.version_info >= (3, 6):
|
||||
from typing import (
|
||||
Collection as Collection,
|
||||
AsyncGenerator as AsyncGenerator,
|
||||
)
|
||||
from typing import AsyncGenerator as AsyncGenerator, Collection as Collection
|
||||
|
||||
_S = TypeVar("_S")
|
||||
_T = TypeVar("_T")
|
||||
|
||||
@@ -29,8 +29,4 @@ from . import (
|
||||
)
|
||||
|
||||
if sys.version_info >= (3, 6):
|
||||
from . import (
|
||||
Collection as Collection,
|
||||
Reversible as Reversible,
|
||||
AsyncGenerator as AsyncGenerator,
|
||||
)
|
||||
from . import AsyncGenerator as AsyncGenerator, Collection as Collection, Reversible as Reversible
|
||||
Reference in new issue
Block a user