add precommit for black and ruff

This commit is contained in:
Mylloon 2023-05-28 18:51:37 +02:00
parent 0c003b3a91
commit 7a0a1db8f1
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

4
githooks/pre-commit Executable file
View file

@ -0,0 +1,4 @@
#!/bin/sh
python3 -m black --check .
python3 -m ruff check .