Skip to content

Commit bb490cb

Browse files
committed
🔧 Update Ruff pre-commit hooks to use explicit hook IDs
1 parent 472d803 commit bb490cb

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

‎project_name/.pre-commit-config.yaml.jinja‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -144,15 +144,14 @@ repos:
144144
- repo: https://github.com/astral-sh/ruff-pre-commit
145145
rev: v0.11.12
146146
hooks:
147-
- id: ruff
147+
- id: ruff-check
148148
alias: ruff-isort
149149
name: ruff isort
150150
args: [--select, I001, --fix]
151151
{%- if format_tool == "ruff" %}
152152
- id: ruff-format
153153
{%- endif %}
154-
- id: ruff
155-
alias: ruff-check
154+
- id: ruff-check
156155
- repo: https://github.com/pre-commit/mirrors-mypy
157156
rev: v1.15.0
158157
hooks:

0 commit comments

Comments
 (0)