Upgrade to isort 5 (#4323)

This now also reformats imports not at the top of files.
This commit is contained in:
Sebastian Rittau
2020-07-16 16:01:57 +02:00
committed by GitHub
parent 1e0e40f61c
commit 5e76f51930
20 changed files with 67 additions and 55 deletions

View File

@@ -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")

View File

@@ -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