mirror of https://github.com/astral-sh/ruff
Use updated pre-commit id (#18718)
## Summary Update pre-commit hook id according to https://github.com/astral-sh/ruff-pre-commit/pull/124
This commit is contained in:
parent
9220addf52
commit
a2cd6df429
|
|
@ -185,7 +185,7 @@ Ruff can also be used as a [pre-commit](https://pre-commit.com/) hook via [`ruff
|
||||||
rev: v0.12.0
|
rev: v0.12.0
|
||||||
hooks:
|
hooks:
|
||||||
# Run the linter.
|
# Run the linter.
|
||||||
- id: ruff
|
- id: ruff-check
|
||||||
args: [ --fix ]
|
args: [ --fix ]
|
||||||
# Run the formatter.
|
# Run the formatter.
|
||||||
- id: ruff-format
|
- id: ruff-format
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue