diff options
author | Timothy Crosley <timothy.crosley@gmail.com> | 2019-12-11 23:13:38 -0800 |
---|---|---|
committer | Timothy Crosley <timothy.crosley@gmail.com> | 2019-12-11 23:13:38 -0800 |
commit | 2918467ab222eca219460f819168d97b95b32167 (patch) | |
tree | 37199b7cbc70e7603a8935d374c56590d2906ca6 | |
parent | 0de6598ac8d21c56c299e622b6910de35c8a4057 (diff) | |
download | isort-2918467ab222eca219460f819168d97b95b32167.tar.gz |
Add missing import for TextIO
-rw-r--r-- | isort/api.py | 2 | ||||
-rw-r--r-- | isort/parse.py | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/isort/api.py b/isort/api.py index 53d20eaf..b102af69 100644 --- a/isort/api.py +++ b/isort/api.py @@ -1,6 +1,6 @@ import re from pathlib import Path -from typing import Any, NamedTuple, Optional, Tuple +from typing import Any, NamedTuple, Optional, Tuple, TextIO from . import output, parse from .exceptions import ( diff --git a/isort/parse.py b/isort/parse.py index 4d13af8d..0d1ba875 100644 --- a/isort/parse.py +++ b/isort/parse.py @@ -11,7 +11,6 @@ from typing import ( List, NamedTuple, Optional, - TextIO, Tuple, ) from warnings import warn |