The template for `.pre-commit-config.yaml` has been updated
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 78/100
Research direction
Compare .pre-commit-config.yaml with templates/.pre-commit-config.yaml, starting with the supplied diff. Review whether the workflow path matching and zizmor hook fit this repository, and check the full template diff for other missed conventions. Done means opening a pull request with appropriate changes, or closing the issue if none apply.
Written by the indexing model from the issue text.
Description
Templating
The template for .pre-commit-config.yaml has been updated; see the diff below. Please either:
- Action this issue with a pull request applying some/all of these changes to
.pre-commit-config.yaml[^1]. - Close this issue if none of these changes are appropriate for this repo.
Also consider reviewing a full diff between the template and .pre-commit-config.yaml, in case other valuable shared conventions have previously been missed.
File Links
- The file in this repo:
.pre-commit-config.yaml - The template file in the .github repo:
templates/.pre-commit-config.yaml
Diff
diff --git a/templates/.pre-commit-config.yaml b/templates/.pre-commit-config.yaml
index 080e90e..35f2ab2 100644
--- a/templates/.pre-commit-config.yaml
+++ b/templates/.pre-commit-config.yaml
@@ -13,6 +13,7 @@ ci:
# Alphabetised, for lack of a better order.
files: |
(?x)(
+ .github\/workflows\/.*|
benchmarks\/.+\.py|
docs\/.+\.py|
lib\/.+\.py|
@@ -120,3 +121,9 @@ repos:
hooks:
- id: validate-pyproject
+- repo: https://github.com/zizmorcore/zizmor-pre-commit
+ # This template does not keep up-to-date with versions, visit the repo to see the most recent release.
+ rev: v1.25.2
+ hooks:
+ - id: zizmor
+
[^1]: Include this text in the PR body to avoid any prompts about applying your changes back to the template!
@scitools-templating: please no share prompt
- Dominant language
- No language data
- Stars
- 2
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from SciTools/workflows
-
Difficulty 1/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
enhancement
Difficulty 4/5 3-5 days Newbie friendliness 42/100
-
Re-use docs builds Openenhancement
Difficulty 4/5 3-5 days Newbie friendliness 35/100
All issues in SciTools/workflows
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 84/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
sympozium-ai/sympozium#627 ·
-
repo:raw-data
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
hotosm/raw-data-api#316 · 1 comment ·
-
agentic-workflows cascade-suspected
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
willow
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
openedx/openedx-authz#460 ·