Skip to content

Commit f1789f7

Browse files
committed
Add zizmor hook to pre-commit
1 parent 92d0100 commit f1789f7

3 files changed

Lines changed: 34 additions & 0 deletions

File tree

.pre-commit-config.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,3 +67,11 @@ repos:
6767
entry: uv run python scripts/add_latest_release_date.py
6868
files: ^release-notes\.md$
6969
pass_filenames: false
70+
71+
- id: zizmor
72+
name: zizmor
73+
language: python
74+
entry: uv run zizmor .
75+
files: ^\.github\/workflows\/
76+
require_serial: true
77+
pass_filenames: false

pyproject.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,7 @@
11
[tool.uv.workspace]
22
members = ["backend"]
3+
4+
[dependency-groups]
5+
dev = [
6+
"zizmor>=1.23.1",
7+
]

uv.lock

Lines changed: 21 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)