Skip to content

Commit

Permalink
Add zizmor to pre-commit and fix potential cache-poisoning in wheels …
Browse files Browse the repository at this point in the history
…workflow
  • Loading branch information
radarhere committed Dec 29, 2024
1 parent 76df02d commit 15befa2
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.8.1
rev: v0.8.4
hooks:
- id: ruff
args: [--exit-non-zero-on-fix]
Expand All @@ -24,7 +24,7 @@ repos:
exclude: (Makefile$|\.bat$|\.cmake$|\.eps$|\.fits$|\.gd$|\.opt$)

- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v19.1.4
rev: v19.1.5
hooks:
- id: clang-format
types: [c]
Expand Down Expand Up @@ -56,6 +56,11 @@ repos:
- id: check-readthedocs
- id: check-renovate

- repo: https://github.com/woodruffw/zizmor-pre-commit
rev: v0.10.0
hooks:
- id: zizmor

- repo: https://github.com/sphinx-contrib/sphinx-lint
rev: v1.0.0
hooks:
Expand Down

0 comments on commit 15befa2

Please sign in to comment.