- Add ruff hooks for linting (with --fix) and formatting - Add standard hooks: trailing-whitespace, end-of-file-fixer, check-yaml - Use ruff-pre-commit v0.14.13 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
14 lines
324 B
YAML
14 lines
324 B
YAML
repos:
|
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
rev: v0.14.13
|
|
hooks:
|
|
- id: ruff
|
|
args: [--fix]
|
|
- id: ruff-format
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v5.0.0
|
|
hooks:
|
|
- id: trailing-whitespace
|
|
- id: end-of-file-fixer
|
|
- id: check-yaml
|