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:
Andrey
2023-10-21 17:56:20 +02:00
committed by GitHub
parent df807ff912
commit 6ddb0fa950

View File

@@ -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
```