From 09fbd15e71462b2af3f82e2366563a8ea8b56b81 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Thu, 7 Sep 2017 16:51:06 -0400 Subject: [PATCH] skip validation Signed-off-by: Kenneth Reitz --- docs/advanced.rst | 1 - pipenv/cli.py | 1 + pipenv/environments.py | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/advanced.rst b/docs/advanced.rst index 3c180b0b..b9b57778 100644 --- a/docs/advanced.rst +++ b/docs/advanced.rst @@ -253,7 +253,6 @@ $ pipenv lock variables. To activate them, simply create the variable in your shell and pipenv will detect it. - - ``PIPENV_SKIP_VALIDATION`` — Tells Pipenv to skip ``Pipfile`` validation (case-checking) — useful for slow internet connections. - ``PIPENV_SHELL_COMPAT`` — Toggle from our default ``pipenv shell`` mode to classic. (Suggested for use with pyenv). diff --git a/pipenv/cli.py b/pipenv/cli.py index 088d9c6c..60d9a8c7 100644 --- a/pipenv/cli.py +++ b/pipenv/cli.py @@ -1197,6 +1197,7 @@ def run(command, args, three=None, python=False): @click.option('--three/--two', is_flag=True, default=None, help="Use Python 3/2 when creating virtualenv.") @click.option('--python', default=False, nargs=1, help="Specify which version of Python virtualenv should use.") def check(three=None, python=False): + # Ensure that virtualenv is available. ensure_project(three=three, python=python, validate=False) diff --git a/pipenv/environments.py b/pipenv/environments.py index e86f48ac..bf0baddc 100644 --- a/pipenv/environments.py +++ b/pipenv/environments.py @@ -29,7 +29,7 @@ PIPENV_USE_SYSTEM = os.environ.get('VIRTUAL_ENV') if 'PIPENV_IGNORE_VIRTUALENVS' PIPENV_USE_HASHES = True # Tells pipenv to skip case-checking (slow internet connections). -PIPENV_SKIP_VALIDATION = os.environ.get('PIPENV_SKIP_VALIDATION') +PIPENV_SKIP_VALIDATION = True # Use shell compatibility mode when using venv in project mode. if PIPENV_VENV_IN_PROJECT: