From b34705f87e38400e166ba83dd8ffd482bba260c1 Mon Sep 17 00:00:00 2001 From: Timothy Crosley Date: Tue, 7 Jan 2020 13:26:58 -0800 Subject: Fix formatting [isort + black] --- isort/finders.py | 12 +----------- isort/output.py | 1 + isort/settings.py | 11 +---------- isort/sorting.py | 2 +- 4 files changed, 4 insertions(+), 22 deletions(-) diff --git a/isort/finders.py b/isort/finders.py index 07219f07..259ddbb4 100644 --- a/isort/finders.py +++ b/isort/finders.py @@ -10,17 +10,7 @@ from abc import ABCMeta, abstractmethod from fnmatch import fnmatch from functools import lru_cache from glob import glob -from typing import ( - Dict, - Iterable, - Iterator, - List, - Optional, - Pattern, - Sequence, - Tuple, - Type, -) +from typing import Dict, Iterable, Iterator, List, Optional, Pattern, Sequence, Tuple, Type from . import sections from .settings import Config diff --git a/isort/output.py b/isort/output.py index e9a6f8bf..4343f71a 100644 --- a/isort/output.py +++ b/isort/output.py @@ -2,6 +2,7 @@ import copy import itertools from functools import partial from typing import Iterable, List, Tuple + from isort.format import format_simplified from . import parse, sorting, wrap diff --git a/isort/settings.py b/isort/settings.py index e05560dd..8858b20c 100644 --- a/isort/settings.py +++ b/isort/settings.py @@ -14,16 +14,7 @@ import warnings from distutils.util import strtobool as _as_bool from functools import lru_cache from pathlib import Path -from typing import ( - Any, - Callable, - Dict, - FrozenSet, - Iterable, - List, - Set, - Tuple, -) +from typing import Any, Callable, Dict, FrozenSet, Iterable, List, Set, Tuple from warnings import warn from . import stdlibs diff --git a/isort/sorting.py b/isort/sorting.py index abd6bdbd..34f88699 100644 --- a/isort/sorting.py +++ b/isort/sorting.py @@ -1,5 +1,5 @@ import re -from typing import Any, Callable, Iterable, List, Optional +from typing import Any, Callable, Iterable, List, Optional from .settings import Config -- cgit v1.2.1