From 7965b52c4978390b14d185fdf5a479b37e6ff830 Mon Sep 17 00:00:00 2001 From: Johannes Greiner Date: Wed, 4 Jan 2023 17:08:55 +0100 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=92=AB=20UPDATE:=20change=20no-pin=20?= =?UTF-8?q?option=20to=20mode?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pipreqsnb/pipreqsnb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pipreqsnb/pipreqsnb.py b/pipreqsnb/pipreqsnb.py index 8065ed1..3a1a13f 100755 --- a/pipreqsnb/pipreqsnb.py +++ b/pipreqsnb/pipreqsnb.py @@ -7,7 +7,7 @@ import json import os -pipreqs_options_store = ['use-local', 'debug', 'print', 'force', 'no-pin'] +pipreqs_options_store = ['use-local', 'debug', 'print', 'force', 'mode'] pipreqs_options_args = ['pypi-server', 'proxy', 'ignore', 'encoding', 'savepath', 'diff', 'clean'] From 8be57bdf30a3abf0dd9588e0f91acd9e782962d0 Mon Sep 17 00:00:00 2001 From: Johannes Greiner Date: Wed, 4 Jan 2023 17:14:28 +0100 Subject: [PATCH 2/2] add mode to pipreqs_options_args --- pipreqsnb/pipreqsnb.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pipreqsnb/pipreqsnb.py b/pipreqsnb/pipreqsnb.py index 3a1a13f..5a55789 100755 --- a/pipreqsnb/pipreqsnb.py +++ b/pipreqsnb/pipreqsnb.py @@ -7,8 +7,8 @@ import json import os -pipreqs_options_store = ['use-local', 'debug', 'print', 'force', 'mode'] -pipreqs_options_args = ['pypi-server', 'proxy', 'ignore', 'encoding', 'savepath', 'diff', 'clean'] +pipreqs_options_store = ['use-local', 'debug', 'print', 'force'] +pipreqs_options_args = ['pypi-server', 'proxy', 'ignore', 'encoding', 'savepath', 'diff', 'clean','mode'] def clean_invalid_lines_from_list_of_lines(list_of_lines):