Skip to content

Commit 6de01e2

Browse files
committed
Focus pip-audit on the relevant dependencies
1 parent 08edc8a commit 6de01e2

File tree

4 files changed

+394
-7
lines changed

4 files changed

+394
-7
lines changed

.pre-commit-config.yaml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,10 +100,16 @@ repos:
100100
rev: v2.10.0
101101
hooks:
102102
- id: pip-audit
103-
# TODO: remove when GitHub Actions has pip 26.0+
104-
args: ["--ignore-vuln", "CVE-2026-1703"]
103+
args:
104+
- '-r'
105+
- 'requirements-for-pip-audit.txt'
106+
- '--disable-pip'
107+
- '--no-deps'
108+
# TODO: Remove when #644 is complete
109+
- '--ignore-vuln'
110+
- 'CVE-2026-26007'
105111
- repo: https://github.com/oxc-project/mirrors-oxlint
106-
rev: v1.43.0
112+
rev: v1.46.0
107113
hooks:
108114
- id: oxlint
109115
name: lint JS files with Oxlint

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,3 +140,4 @@ update-deps:
140140
pre-commit autoupdate || :
141141
uv lock --upgrade --exclude-newer "$$(date -u +%Y-%m-%dT%H:%M:%SZ)"
142142
uv sync --frozen --all-groups
143+
uv export --frozen --format requirements-txt --no-emit-project --no-header --no-hashes > requirements-for-pip-audit.txt

0 commit comments

Comments
 (0)