The template for `.pre-commit-config.yaml` has been updated
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 2/5
- Geschätzter Aufwand
- 1-3 Stunden
- Anfängerfreundlichkeit
- 72/100
- Issue-Typ
- Refactoring
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Ruhig
- Tech-Stack
- github-actions
- Bereich
- ci-cd
Rechercherichtung
Vergleiche .pre-commit-config.yaml in diesem Repository mit templates/.pre-commit-config.yaml im SciTools/.github-Repository, beginnend mit dem bereitgestellten Diff und überprüfe anschließend den vollständigen Unterschied der Vorlagen. Als erledigt gilt die Übernahme der entsprechenden gemeinsamen Änderungen in diesem Repository oder das Schließen des Issues, falls keine davon angebracht ist.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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
- Vorherrschende Sprache
- Jupyter Notebook
- Sterne
- 30
- Forks
- 19
- Ø Merge
- 9 T. 1 Std.
- Gemergte PRs (30 T.)
- 2
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus SciTools/python-stratify
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 78/100
SciTools/python-stratify#437 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
SciTools/python-stratify#435 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
SciTools/python-stratify#427 ·
-
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 25/100
SciTools/python-stratify#277 ·
-
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 25/100
SciTools/python-stratify#111 · 3 Kommentare · 2 Reaktionen ·
Alle Issues in SciTools/python-stratify
Ähnliche Issues
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 84/100
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 84/100
danielmiessler/LifeOS#2215 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
sympozium-ai/sympozium#627 ·
-
repo:raw-data
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
hotosm/raw-data-api#316 · 1 Kommentar ·
-
agentic-workflows cascade-suspected
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100