mirror of
https://github.com/bndr/pipreqs.git
synced 2025-06-07 03:55:22 +00:00
Passing for the PR guidelines
This commit is contained in:
parent
1ed44a961f
commit
4b3df5f111
@ -277,7 +277,10 @@ def get_locally_installed_packages(use_venv_packages: bool, encoding="utf-8"):
|
|||||||
break
|
break
|
||||||
else:
|
else:
|
||||||
if use_venv_packages and not venv_path:
|
if use_venv_packages and not venv_path:
|
||||||
logging.warning("You specified to use only the virtual environment packages, but no virtual environment is currently active.")
|
logging.warning(
|
||||||
|
"You specified to use only the virtual environment packages, "
|
||||||
|
"but no virtual environment is currently active."
|
||||||
|
)
|
||||||
paths_to_search = sys.path
|
paths_to_search = sys.path
|
||||||
|
|
||||||
for path in paths_to_search:
|
for path in paths_to_search:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user