Format-only: Python files are AST-identical apart from import order. pre-commit end-of-file/trailing-whitespace fixes applied repo-wide. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
19 lines
522 B
YAML
19 lines
522 B
YAML
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v6.0.0
|
|
hooks:
|
|
- id: check-yaml
|
|
- id: check-added-large-files
|
|
args: ['--maxkb=10240']
|
|
- id: check-merge-conflict
|
|
- id: end-of-file-fixer
|
|
- id: trailing-whitespace
|
|
|
|
# ruff replaces black, isort and flake8. Keep rev equal to the ruff pin in pyproject.toml.
|
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
rev: v0.16.10
|
|
hooks:
|
|
- id: ruff-check
|
|
args: [--fix]
|
|
- id: ruff-format
|