add precommit for black and ruff
This commit is contained in:
parent
0c003b3a91
commit
7a0a1db8f1
1 changed files with 4 additions and 0 deletions
4
githooks/pre-commit
Executable file
4
githooks/pre-commit
Executable file
|
@ -0,0 +1,4 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
python3 -m black --check .
|
||||||
|
python3 -m ruff check .
|
Reference in a new issue