Skip to content

Add environment variable support for --ignore-vuln - #1025

Open
Eric19881020 wants to merge 1 commit into
pypa:mainfrom
Eric19881020:feat/issue-948-ignore-vuln-env
Open

Add environment variable support for --ignore-vuln#1025
Eric19881020 wants to merge 1 commit into
pypa:mainfrom
Eric19881020:feat/issue-948-ignore-vuln-env

Conversation

@Eric19881020

Copy link
Copy Markdown

Summary

This PR adds support for the PIP_AUDIT_IGNORE_VULN environment variable.

What changed

  • added a CLI test covering PIP_AUDIT_IGNORE_VULN
  • updated --ignore-vuln to read its default from the environment when set

Why

Fixes #948.

Notes

The environment variable mirrors --ignore-vuln and accepts a space-separated list of vulnerability IDs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature: new environment variable PIP_AUDIT_IGNORE_VULN

1 participant