From ff4ef9688f2a1e2ab050a88a0f805bb506bb127d Mon Sep 17 00:00:00 2001 From: Nate Prewitt Date: Wed, 8 Feb 2017 13:54:39 -0700 Subject: [PATCH] don't validate if environment isn't configured --- pipenv/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pipenv/cli.py b/pipenv/cli.py index 6cb2c4ed..c1ff3923 100644 --- a/pipenv/cli.py +++ b/pipenv/cli.py @@ -95,7 +95,7 @@ def ensure_pipfile(validate=True): # TODO: Remove this check. Either fail on no Pipfile # or fallback to an empty dict. # Validate the Pipfile's contents. - if validate: + if validate and project.virtualenv_exists: # Ensure that Pipfile is using proper casing. p = project.parsed_pipfile changed = ensure_proper_casing(_pipfile=p)