clean up TYPE_CHECKING imports

This commit is contained in:
Anthony Sottile 2021-03-29 19:33:44 -07:00
parent 83856872d3
commit 64a610ed19
8 changed files with 17 additions and 12 deletions

View file

@ -1,10 +1,11 @@
"""Default formatting class for Flake8."""
from typing import Optional
from typing import Set
from typing import TYPE_CHECKING
from flake8.formatting import base
if False: # `typing.TYPE_CHECKING` was introduced in 3.5.2
if TYPE_CHECKING:
from flake8.style_guide import Violation