Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,4 @@ jobs:
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: actions/setup-python@v5
with:
python-version: "3.x"
- uses: pre-commit/action@v3.0.1
- uses: j178/prek-action@v1
2 changes: 1 addition & 1 deletion .github/zizmor.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Configuration for the zizmor static analysis tool, run via pre-commit in CI
# Configuration for the zizmor static analysis tool, run via prek in CI
# https://woodruffw.github.io/zizmor/configuration/
rules:
dangerous-triggers:
Expand Down
10 changes: 5 additions & 5 deletions Doc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -284,17 +284,17 @@ _ensure-package: venv
$(VENVDIR)/bin/python3 -m pip install $(PACKAGE); \
fi

.PHONY: _ensure-pre-commit
_ensure-pre-commit:
$(MAKE) _ensure-package PACKAGE=pre-commit
.PHONY: _ensure-prek
_ensure-prek:
$(MAKE) _ensure-package PACKAGE=prek
Comment thread
AA-Turner marked this conversation as resolved.
Outdated

.PHONY: _ensure-sphinx-autobuild
_ensure-sphinx-autobuild:
$(MAKE) _ensure-package PACKAGE=sphinx-autobuild

.PHONY: check
check: _ensure-pre-commit
$(VENVDIR)/bin/python3 -m pre_commit run --all-files
check: _ensure-prek
$(VENVDIR)/bin/python3 -m prek run --all-files
Comment thread
AA-Turner marked this conversation as resolved.
Outdated

.PHONY: serve
serve:
Expand Down
Loading