Skip to content

Change ruff linter id in pre-commit-config once rev >= 0.12.0 #107

@samjmolyneux

Description

@samjmolyneux
- repo: https://github.com/astral-sh/ruff-pre-commit
    rev: v0.9.4
    hooks:
      - id: ruff
      - id: ruff-format

Becomes.

- repo: https://github.com/astral-sh/ruff-pre-commit
    rev: VERSION_NUMBER
    hooks:
      - id: ruff-check
      - id: ruff-format

Once VERSION_NUMBER >= v 0.12.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions