mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
2b895ffb3f
* Refactor to support the NO_COLOR argument and deprecate PIPENV_COLORBIND variable. * Add news fragment.
17 lines
421 B
Python
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()
|