mirror of
https://github.com/astral-sh/ruff
synced 2026-01-20 21:10:48 -05:00
Update hook description in README.md (#8103)
## Summary - Use the latest hook version for formatting - Join hooks together, since they are located in the same repo
This commit is contained in:
@@ -153,12 +153,9 @@ Ruff can also be used as a [pre-commit](https://pre-commit.com/) hook via [`ruff
|
||||
# Ruff version.
|
||||
rev: v0.1.1
|
||||
hooks:
|
||||
# Run the Ruff linter.
|
||||
- id: ruff
|
||||
# Run the Ruff formatter.
|
||||
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||||
# Ruff version.
|
||||
rev: v0.0.291
|
||||
hooks:
|
||||
# Run the Ruff formatter.
|
||||
- id: ruff-format
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user