From b6ca34096a04249d5f7d8d354fd0215ca8d3e25c Mon Sep 17 00:00:00 2001 From: Nick Coghlan Date: Mon, 4 May 2020 16:18:03 +1000 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Dan Ryan --- news/3316.feature.rst | 2 +- pipenv/core.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/news/3316.feature.rst b/news/3316.feature.rst index 9cab1697..63a7498a 100644 --- a/news/3316.feature.rst +++ b/news/3316.feature.rst @@ -1,4 +1,4 @@ -For consistency with other commands and the ``-dev`` option +For consistency with other commands and the ``--dev`` option description, ``pipenv lock --requirements --dev`` now emits both default and development dependencies. The new ``--dev-only`` option requests the previous diff --git a/pipenv/core.py b/pipenv/core.py index 451f6f67..5c41be35 100644 --- a/pipenv/core.py +++ b/pipenv/core.py @@ -808,7 +808,7 @@ def do_install_dependencies( if emit_requirements: bare = True # Load the lockfile if it exists, or if dev_only is being used. - if skip_lock or dev_only or not project.lockfile_exists: + if skip_lock or not project.lockfile_exists: if not bare: click.echo( crayons.normal(fix_utf8("Installing dependencies from Pipfile…"), bold=True)