add ruff format to pre-commit hooks

This commit is contained in:
David Paul Graham 2026-03-14 08:45:17 -04:00
parent 73b79b9e0b
commit f5033cafef
No known key found for this signature in database
GPG key ID: ACDB045B782EF333

View file

@ -48,3 +48,11 @@ repos:
- id: pyupgrade
name: pyupgrade
args: [--py312-plus]
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.15.6
hooks:
# uncomment after linting initially passes
# - id: ruff-check
# args: [ --fix ]
- id: ruff-format