mirror of
https://github.com/lllin000/PaperForge.git
synced 2026-07-22 06:50:53 +00:00
10 lines
276 B
YAML
10 lines
276 B
YAML
# Pre-commit hooks — run automatically before every `git commit`
|
|
# Install: pip install pre-commit && pre-commit install
|
|
|
|
repos:
|
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
rev: v0.6.0
|
|
hooks:
|
|
- id: ruff
|
|
args: [--fix]
|
|
- id: ruff-format
|