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.
This commit is contained in:
JumboBear 2025-11-26 21:57:18 +00:00 committed by GitHub
parent 2c0c5ff4e7
commit e2e21508dc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -372,7 +372,7 @@ This tutorial has focused on Ruff's command-line interface, but Ruff can also be
rev: v0.14.6 rev: v0.14.6
hooks: hooks:
# Run the linter. # Run the linter.
- id: ruff - id: ruff-check
# Run the formatter. # Run the formatter.
- id: ruff-format - id: ruff-format
``` ```