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

@@ -10,9 +10,9 @@ from typing import Any, AnyStr, Callable, Iterator, List, Optional, Tuple, Union
# ----- re variables and constants -----
if sys.version_info >= (3, 7):
from typing import Pattern as Pattern, Match as Match
from typing import Match as Match, Pattern as Pattern
else:
from typing import Pattern, Match
from typing import Match, Pattern
if sys.version_info >= (3, 6):
import enum