chore: update pre-commit configuration to use local ruff hooks (#9048)

This commit is contained in:
Gabriel Luiz Freitas Almeida 2025-07-14 17:47:06 -03:00 committed by GitHub
commit d1b3b99dcb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -11,13 +11,17 @@ repos:
args:
- --fix=lf
- id: trailing-whitespace
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.12.2
- repo: local
hooks:
- id: ruff
name: ruff check
entry: uv run ruff check
language: system
types_or: [python, pyi]
args: [--fix]
- id: ruff-format
name: ruff format
entry: uv run ruff format
language: system
types_or: [python, pyi]
args: [--config, pyproject.toml]