diff --git a/CHANGELOG.md b/CHANGELOG.md index d3237f72..7c2ea456 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,11 @@ All versions prior to 0.0.9 are untracked. ## [Unreleased] +### Fixed + +* Removed a misleading warning message that resulted in user confusion + ([#719](https://github.com/pypa/pip-audit/pull/719)) + ## [2.6.2] ### Changed diff --git a/pip_audit/_cli.py b/pip_audit/_cli.py index 26200082..18fa2e05 100644 --- a/pip_audit/_cli.py +++ b/pip_audit/_cli.py @@ -404,9 +404,6 @@ def audit() -> None: # pragma: no cover if args.require_hashes and args.no_deps: logger.warning("The --no-deps flag is redundant when used with --require-hashes") - if args.no_deps and args.disable_pip: - logger.warning("The --no-deps flag is redundant when used with --disable-pip") - if args.require_hashes and isinstance(service, OsvService): logger.warning( "The --require-hashes flag with --service osv only enforces hash presence NOT hash "