From 32c454bb56e7d35f55ac244de9b8ae5039171da9 Mon Sep 17 00:00:00 2001 From: Harshil <37377066+harshil21@users.noreply.github.com> Date: Thu, 31 Jul 2025 01:17:04 -0400 Subject: [PATCH] Update pre-commit's `ruff` id (#19654) --- docs/integrations.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/integrations.md b/docs/integrations.md index 61d8fe7c4a..69fc14ff44 100644 --- a/docs/integrations.md +++ b/docs/integrations.md @@ -109,7 +109,7 @@ Ruff can be used as a [pre-commit](https://pre-commit.com) hook via [`ruff-pre-c rev: v0.12.7 hooks: # Run the linter. - - id: ruff + - id: ruff-check # Run the formatter. - id: ruff-format ``` @@ -122,7 +122,7 @@ To enable lint fixes, add the `--fix` argument to the lint hook: rev: v0.12.7 hooks: # Run the linter. - - id: ruff + - id: ruff-check args: [ --fix ] # Run the formatter. - id: ruff-format @@ -136,7 +136,7 @@ To avoid running on Jupyter Notebooks, remove `jupyter` from the list of allowed rev: v0.12.7 hooks: # Run the linter. - - id: ruff + - id: ruff-check types_or: [ python, pyi ] args: [ --fix ] # Run the formatter.