Skip to content

The template for .pre-commit-config.yaml has been updated #450

@scitools-ci

Description

@scitools-ci

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.yaml1.
  • 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

Diff

diff --git a/templates/.pre-commit-config.yaml b/templates/.pre-commit-config.yaml
index 5af70f0..74408e0 100644
--- a/templates/.pre-commit-config.yaml
+++ b/templates/.pre-commit-config.yaml
@@ -90,7 +90,7 @@ repos:
     # This template does not keep up-to-date with versions, visit the repo to see the most recent release.
     rev: "v0.7.4"
     hooks:
-    -   id: ruff
+    -   id: ruff-check
         types: [file, python]
         args: [--fix, --show-fixes]
     -   id: ruff-format

Footnotes

  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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions