Files
pipenv/pipenv/utils/constants.py
T
Matt Davis 2b895ffb3f Support the NO_COLOR and deprecate PIPENV_COLORBLIND environment variables (#5185)
* Refactor to support the NO_COLOR argument and deprecate PIPENV_COLORBIND variable.

* Add news fragment.
2022-07-24 09:04:28 +02:00

17 lines
421 B
Python

# List of version control systems we support.
VCS_LIST = ("git", "svn", "hg", "bzr")
SCHEME_LIST = ("http://", "https://", "ftp://", "ftps://", "file://")
FALSE_VALUES = ("0", "false", "no", "off")
TRUE_VALUES = ("1", "true", "yes", "on")
def is_type_checking():
try:
from typing import TYPE_CHECKING
except ImportError:
return False
return TYPE_CHECKING
MYPY_RUNNING = is_type_checking()