summaryrefslogtreecommitdiff
path: root/src/pip/_internal/commands/check.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/pip/_internal/commands/check.py')
-rw-r--r--src/pip/_internal/commands/check.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pip/_internal/commands/check.py b/src/pip/_internal/commands/check.py
index e066bb63c..5bc07cb7e 100644
--- a/src/pip/_internal/commands/check.py
+++ b/src/pip/_internal/commands/check.py
@@ -1,4 +1,5 @@
import logging
+from typing import TYPE_CHECKING
from pip._internal.cli.base_command import Command
from pip._internal.cli.status_codes import ERROR, SUCCESS
@@ -7,11 +8,10 @@ from pip._internal.operations.check import (
create_package_set_from_installed,
)
from pip._internal.utils.misc import write_output
-from pip._internal.utils.typing import MYPY_CHECK_RUNNING
logger = logging.getLogger(__name__)
-if MYPY_CHECK_RUNNING:
+if TYPE_CHECKING:
from optparse import Values
from typing import Any, List