mirror of https://github.com/astral-sh/ruff
docs: update reference to the pre-commit hook (#21645)
## Summary The reference to the pre-commit hook inside the tutorial was to the legacy alias `ruff` instead of the current `ruff-check`. Ref: https://github.com/astral-sh/ruff-pre-commit/pull/124 ## Test Plan Not applicable.
This commit is contained in:
parent
2c0c5ff4e7
commit
e2e21508dc
|
|
@ -372,7 +372,7 @@ This tutorial has focused on Ruff's command-line interface, but Ruff can also be
|
||||||
rev: v0.14.6
|
rev: v0.14.6
|
||||||
hooks:
|
hooks:
|
||||||
# Run the linter.
|
# Run the linter.
|
||||||
- id: ruff
|
- id: ruff-check
|
||||||
# Run the formatter.
|
# Run the formatter.
|
||||||
- id: ruff-format
|
- id: ruff-format
|
||||||
```
|
```
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue