Update .pre-commit-config.yaml file #3300

This commit is contained in:
nicolargo 2025-10-18 14:25:33 +02:00
parent 074a01efc2
commit 8fa0677538
1 changed files with 8 additions and 5 deletions

View File

@ -3,7 +3,6 @@ repos:
rev: v6.0.0
hooks:
- id: check-ast
- id: check-builtin-literals
- id: check-docstring-first
- id: check-json
- id: check-merge-conflict
@ -16,8 +15,12 @@ repos:
- id: requirements-txt-fixer
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.11.5
rev: v0.14.1
hooks:
- id: ruff-format
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
# Run the linter.
- id: ruff-check
types_or: [ python, pyi ]
args: [ --fix, --exit-non-zero-on-fix ]
# Run the formatter.
- id: ruff-format
types_or: [ python, pyi ]