From e2e21508dc87d2de060465e75a3d7cb994c4641d Mon Sep 17 00:00:00 2001 From: JumboBear Date: Wed, 26 Nov 2025 21:57:18 +0000 Subject: [PATCH] docs: update reference to the pre-commit hook (#21645) ## Summary The reference to the pre-commit hook inside the tutorial was to the legacy alias `ruff` instead of the current `ruff-check`. Ref: https://github.com/astral-sh/ruff-pre-commit/pull/124 ## Test Plan Not applicable. --- docs/tutorial.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorial.md b/docs/tutorial.md index b73d6e158c..8a776e8c31 100644 --- a/docs/tutorial.md +++ b/docs/tutorial.md @@ -372,7 +372,7 @@ This tutorial has focused on Ruff's command-line interface, but Ruff can also be rev: v0.14.6 hooks: # Run the linter. - - id: ruff + - id: ruff-check # Run the formatter. - id: ruff-format ```