add pre-commit

This commit is contained in:
Brian Rosner 2024-05-17 22:01:37 -06:00
parent 9facd6dc9f
commit e95a893fc4

7
.pre-commit-config.yaml Normal file
View File

@ -0,0 +1,7 @@
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.4.4
hooks:
- id: ruff
args: [ --fix ]
- id: ruff-format