summaryrefslogtreecommitdiff
path: root/isort/compat.py
diff options
context:
space:
mode:
authorTimothy Crosley <timothy.crosley@gmail.com>2019-10-29 23:24:48 -0700
committerTimothy Crosley <timothy.crosley@gmail.com>2019-10-29 23:24:48 -0700
commita64fa0632de593f7fc81a968cce16a83392cf98b (patch)
tree8c75e5b8010bb3c7c30a415ac259dea1d0411357 /isort/compat.py
parent9e25eb32a3c7909e77f17970407fa7d4d93910ae (diff)
downloadisort-a64fa0632de593f7fc81a968cce16a83392cf98b.tar.gz
Start work on moving configuration objects to use dataclasses
Diffstat (limited to 'isort/compat.py')
-rw-r--r--isort/compat.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/isort/compat.py b/isort/compat.py
index a85dc66b..7d5eb52a 100644
--- a/isort/compat.py
+++ b/isort/compat.py
@@ -1,11 +1,12 @@
import locale
import os
import re
-import sys
from pathlib import Path
-from typing import Any, Optional, Tuple
from warnings import warn
+from typing import Any, Optional, Tuple
+
+import sys
from isort import settings
from isort.format import ask_whether_to_apply_changes_to_file, show_unified_diff
from isort.isort import _SortImports