mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
ellipsis
This commit is contained in:
+4
-3
@@ -29,6 +29,7 @@ from .utils import is_valid_url
|
||||
click_completion.init()
|
||||
CONTEXT_SETTINGS = dict(help_option_names=["-h", "--help"])
|
||||
|
||||
|
||||
class PipenvGroup(Group):
|
||||
"""Custom Group class provides formatted main help"""
|
||||
|
||||
@@ -224,7 +225,7 @@ def cli(
|
||||
do_clear()
|
||||
sys.exit(0)
|
||||
|
||||
# --venv was passed...
|
||||
# --venv was passed…
|
||||
elif venv:
|
||||
# There is no virtualenv yet.
|
||||
if not project.virtualenv_exists:
|
||||
@@ -236,7 +237,7 @@ def cli(
|
||||
else:
|
||||
echo(project.virtualenv_location)
|
||||
sys.exit(0)
|
||||
# --rm was passed...
|
||||
# --rm was passed…
|
||||
elif rm:
|
||||
# Abort if --system (or running in a virtualenv).
|
||||
if environments.PIPENV_USE_SYSTEM:
|
||||
@@ -270,7 +271,7 @@ def cli(
|
||||
err=True,
|
||||
)
|
||||
sys.exit(1)
|
||||
# --two / --three was passed...
|
||||
# --two / --three was passed…
|
||||
if (python or three is not None) or site_packages:
|
||||
ensure_project(
|
||||
three=three,
|
||||
|
||||
Reference in New Issue
Block a user