Skip to content

Commit f6cdd44

Browse files
authored
_cli: remove a misleading warning (#719)
* _cli: remove a misleading warning See #718. Signed-off-by: William Woodruff <[email protected]> * CHANGELOG: record changes Signed-off-by: William Woodruff <[email protected]> --------- Signed-off-by: William Woodruff <[email protected]>
1 parent 8b99913 commit f6cdd44

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ All versions prior to 0.0.9 are untracked.
88

99
## [Unreleased]
1010

11+
### Fixed
12+
13+
* Removed a misleading warning message that resulted in user confusion
14+
([#719](https://github.com/pypa/pip-audit/pull/719))
15+
1116
## [2.6.2]
1217

1318
### Changed

pip_audit/_cli.py

-3
Original file line numberDiff line numberDiff line change
@@ -404,9 +404,6 @@ def audit() -> None: # pragma: no cover
404404
if args.require_hashes and args.no_deps:
405405
logger.warning("The --no-deps flag is redundant when used with --require-hashes")
406406

407-
if args.no_deps and args.disable_pip:
408-
logger.warning("The --no-deps flag is redundant when used with --disable-pip")
409-
410407
if args.require_hashes and isinstance(service, OsvService):
411408
logger.warning(
412409
"The --require-hashes flag with --service osv only enforces hash presence NOT hash "

0 commit comments

Comments
 (0)