mirror of
https://github.com/smittix/intercept.git
synced 2026-04-23 22:30:00 -07:00
Adds ruff pre-commit hook that auto-fixes and formats on every commit, preventing lint CI failures from reaching GitHub. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
8 lines
153 B
YAML
8 lines
153 B
YAML
repos:
|
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
rev: v0.11.4
|
|
hooks:
|
|
- id: ruff
|
|
args: [--fix]
|
|
- id: ruff-format
|