Skip to content

Commit 9dce39b

Browse files
committed
Add zizmor to lint stage
1 parent 125c584 commit 9dce39b

3 files changed

Lines changed: 38 additions & 8 deletions

File tree

Makefile

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,11 @@ ci-install:
2222

2323
UV_RUN_CMD := uv run --frozen --no-config
2424
.PHONY: lint
25-
lint: lint-python # TODO: Add mbake
25+
lint: lint-python lint-gh-actions # TODO: Add mbake
26+
27+
.PHONY: lint-gh-actions
28+
lint-gh-actions:
29+
$(UV_RUN_CMD) zizmor --pedantic --collect=all --strict-collection .
2630

2731
.PHONY: lint-python
2832
lint-python:
@@ -32,7 +36,11 @@ lint-python:
3236

3337
UV_RUN_CMD := uv run --frozen --no-config
3438
.PHONY: ci-lint
35-
ci-lint: ci-lint-python # TODO: Add mbake
39+
ci-lint: ci-lint-python ci-lint-gh-actions # TODO: Add mbake
40+
41+
.PHONY: ci-lint-gh-actions
42+
ci-lint-gh-actions:
43+
$(UV_RUN_CMD) zizmor --pedantic --collect=all --strict-collection --fix .
3644

3745
.PHONY: ci-lint-python
3846
ci-lint-python:

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ openai = ["splunk-sdk[ai]>=2.1.1", "langchain-openai>=1.2.1"]
3939
google = [
4040
"splunk-sdk[ai]>=2.1.1",
4141
"langchain-google-genai==4.2.2",
42-
"google-auth>=2.51.0",
42+
"google-auth>=2.52.0",
4343
]
4444

4545
# Treat the same as NPM's `devDependencies`
@@ -53,7 +53,7 @@ test = [
5353
"vcrpy>=8.1.1",
5454
]
5555
release = ["build>=1.5.0", "jinja2>=3.1.6", "sphinx>=9.1.0", "twine>=6.2.0"]
56-
lint = ["basedpyright>=1.39.3", "ruff>=0.15.12", "mbake>=1.4.6"]
56+
lint = ["basedpyright>=1.39.3","mbake>=1.4.6", "ruff>=0.15.12", "zizmor==1.24.1"]
5757
dev = [
5858
"rich>=15.0.0",
5959
{ include-group = "test" },

uv.lock

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

0 commit comments

Comments
 (0)