We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 970a323 commit 0796841Copy full SHA for 0796841
.github/workflows/check-python.yaml
@@ -23,7 +23,13 @@ jobs:
23
run: poetry install --no-interaction --no-root
24
25
- name: Audit with pip-audit
26
- run: poetry run pip-audit
+ run: |
27
+ # audit non dev dependencies, no exclusions
28
+ poetry export --without=dev > requirements.txt && poetry run pip-audit -r requirements.txt
29
+
30
+ # audit all dependencies, with exclusions
31
+ poetry run pip-audit \
32
+ --ignore-vuln "GHSA-hcpj-qp55-gfph" # GitPython vulnerability, dev only dependency
33
34
- name: Check formatting with Black
35
run: |
0 commit comments