diff options
| author | Anthony Sottile <asottile@umich.edu> | 2021-03-29 19:33:44 -0700 |
|---|---|---|
| committer | Anthony Sottile <asottile@umich.edu> | 2021-03-30 17:37:13 -0700 |
| commit | 64a610ed19beb3a9b50c7ae83d1ae861fc6613ef (patch) | |
| tree | a77a8b3b139fbea735049619a4f40b4fdc033747 /src/flake8/options | |
| parent | 83856872d37d30f04e0252960ffb5e3d5468ae5c (diff) | |
| download | flake8-64a610ed19beb3a9b50c7ae83d1ae861fc6613ef.tar.gz | |
clean up TYPE_CHECKING imports
Diffstat (limited to 'src/flake8/options')
| -rw-r--r-- | src/flake8/options/manager.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/flake8/options/manager.py b/src/flake8/options/manager.py index f537a42..206094f 100644 --- a/src/flake8/options/manager.py +++ b/src/flake8/options/manager.py @@ -16,12 +16,14 @@ from typing import Optional from typing import Sequence from typing import Set from typing import Tuple +from typing import Type +from typing import TYPE_CHECKING from typing import Union from flake8 import utils -if False: # TYPE_CHECKING - from typing import NoReturn, Type +if TYPE_CHECKING: + from typing import NoReturn LOG = logging.getLogger(__name__) |
