From 6ddb0fa95027d019a4fc93530232ff1218f2d4ba Mon Sep 17 00:00:00 2001 From: Andrey Date: Sat, 21 Oct 2023 17:56:20 +0200 Subject: [PATCH] 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 --- README.md | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index cbab83dc5d..f586d6e697 100644 --- a/README.md +++ b/README.md @@ -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 ```