Move it under typing.TYPE_CHECKING if an import is used only for typing #305
Open
Description
For example:
source.py
import x
variable: x = value
refactor.py
import typing
if typing.TYPE_CHECKING:
import x
variable: x = value
Metadata
Assignees
Labels
Projects
Status
📋 Backlog