chore: update pre-commit hooks to latest versions (#8938)

- Bumped pre-commit-hooks from v4.1.0 to v5.0.0.
- Updated ruff-pre-commit from v0.8.3 to v0.12.2 for improved linting capabilities.
This commit is contained in:
Gabriel Luiz Freitas Almeida 2025-07-10 15:19:12 -03:00 • committed by GitHub
commit 13386d4118
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,6 +1,6 @@
repos: repos:
- repo: https://github.com/pre-commit/pre-commit-hooks - repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.1.0 rev: v5.0.0
hooks: hooks:
- id: check-case-conflict - id: check-case-conflict
- id: end-of-file-fixer - id: end-of-file-fixer
@ -12,7 +12,7 @@ repos:
- --fix=lf - --fix=lf
- id: trailing-whitespace - id: trailing-whitespace
- repo: https://github.com/astral-sh/ruff-pre-commit - repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.8.3 rev: v0.12.2
hooks: hooks:
- id: ruff - id: ruff
name: ruff check name: ruff check