From 7095de9ffe64c710e28e056e7f6513648327f2e6 Mon Sep 17 00:00:00 2001 From: amir Date: Sat, 6 Aug 2022 14:32:12 +0200 Subject: [PATCH 1/3] fix bug when auto completing install and uninstall --- pipenv/cli/options.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pipenv/cli/options.py b/pipenv/cli/options.py index 7ab9479738..7018c898bf 100644 --- a/pipenv/cli/options.py +++ b/pipenv/cli/options.py @@ -281,7 +281,7 @@ def callback(ctx, param, value): "packages", nargs=-1, callback=callback, - expose_value=False, + expose_value=True, type=click_types.STRING, )(f) From ba150735351be36dd55ee2cc1eb6c2fa94458e88 Mon Sep 17 00:00:00 2001 From: amir Date: Sat, 6 Aug 2022 15:34:26 +0200 Subject: [PATCH 2/3] add news of the bugfix --- news/5214.bugfix.rst | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 news/5214.bugfix.rst diff --git a/news/5214.bugfix.rst b/news/5214.bugfix.rst new file mode 100644 index 0000000000..3bb5f6a143 --- /dev/null +++ b/news/5214.bugfix.rst @@ -0,0 +1,2 @@ +Fix auto-complete crashing on 'install' and 'uninstall' keywords + From 1660016d751e383e3f30a534b6f5c38b5a92dd6e Mon Sep 17 00:00:00 2001 From: amir Date: Sat, 6 Aug 2022 20:03:35 +0200 Subject: [PATCH 3/3] run pre-commit and apply the corresponding linter fixes --- news/5214.bugfix.rst | 1 - 1 file changed, 1 deletion(-) diff --git a/news/5214.bugfix.rst b/news/5214.bugfix.rst index 3bb5f6a143..601dc83564 100644 --- a/news/5214.bugfix.rst +++ b/news/5214.bugfix.rst @@ -1,2 +1 @@ Fix auto-complete crashing on 'install' and 'uninstall' keywords -