diff options
| author | Timothy Crosley <timothy.crosley@gmail.com> | 2021-10-30 00:27:51 -0700 |
|---|---|---|
| committer | Timothy Crosley <timothy.crosley@gmail.com> | 2021-10-30 00:27:51 -0700 |
| commit | 488cdcac10d4775d9ac2b63401a9a024a43705cf (patch) | |
| tree | 1211d95318cfd78c7704a43ae51d83398efee059 /tests/unit | |
| parent | 1f093f691038e35303eb326e5a82b7cfcd918753 (diff) | |
| download | isort-488cdcac10d4775d9ac2b63401a9a024a43705cf.tar.gz | |
Fix formatting
Diffstat (limited to 'tests/unit')
| -rw-r--r-- | tests/unit/test_isort.py | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/tests/unit/test_isort.py b/tests/unit/test_isort.py index d9b663d1..6f885581 100644 --- a/tests/unit/test_isort.py +++ b/tests/unit/test_isort.py @@ -4,23 +4,24 @@ Should be ran using py.test by simply running py.test in the isort project direc """ import os import os.path -from pathlib import Path import subprocess import sys from io import StringIO +from pathlib import Path from tempfile import NamedTemporaryFile -from typing import Any, Dict, Iterator, List, Set, Tuple, TYPE_CHECKING +from typing import TYPE_CHECKING, Any, Dict, Iterator, List, Set, Tuple import py import pytest import toml + import isort -from isort import api, sections, files +from isort import api, files, sections +from isort.exceptions import ExistingSyntaxErrors, FileSkipped, MissingSection from isort.settings import Config - from isort.utils import exists_case_sensitive -from isort.exceptions import FileSkipped, ExistingSyntaxErrors, MissingSection -from .utils import as_stream, UnreadableStream + +from .utils import UnreadableStream, as_stream if TYPE_CHECKING: WrapModes: Any |
