mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
Stage missed environment file for pythonfinder
Signed-off-by: Dan Ryan <dan@danryan.co>
This commit is contained in:
+7
@@ -4,6 +4,12 @@ import os
|
||||
import platform
|
||||
import sys
|
||||
|
||||
|
||||
def is_type_checking():
|
||||
from typing import TYPE_CHECKING
|
||||
return TYPE_CHECKING
|
||||
|
||||
|
||||
PYENV_INSTALLED = bool(os.environ.get("PYENV_SHELL")) or bool(
|
||||
os.environ.get("PYENV_ROOT")
|
||||
)
|
||||
@@ -24,3 +30,4 @@ else:
|
||||
|
||||
|
||||
IGNORE_UNSUPPORTED = bool(os.environ.get("PYTHONFINDER_IGNORE_UNSUPPORTED", False))
|
||||
MYPY_RUNNING = os.environ.get("MYPY_RUNNING", is_type_checking())
|
||||
|
||||
Reference in New Issue
Block a user