mirror of https://github.com/astral-sh/ruff
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:
parent
df807ff912
commit
6ddb0fa950
|
|
@ -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
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue