add pre-commit hooks

Fixes #945
This commit is contained in:
Aleix Conchillo Flaqué
2025-01-15 13:44:21 -08:00
parent bb4766455d
commit f78520f7d0
5 changed files with 23 additions and 3 deletions

3
scripts/pre-commit.sh Executable file
View File

@@ -0,0 +1,3 @@
#!/bin/sh
NO_COLOR=1 ruff format --diff