This website requires JavaScript.
Explore
Help
Sign in
Paris8
/
errsy
Archived
Watch
1
Star
0
Fork
You've already forked errsy
0
Code
Issues
2
Pull requests
Projects
1
Releases
Packages
Wiki
Activity
This repository has been archived on
2023-06-07
. You can view files and clone it, but cannot push or open issues or pull requests.
573d7f5628
errsy
/
githooks
/
pre-commit
5 lines
85 B
Text
Raw
Normal View
History
Unescape
Escape
add precommit for black and ruff
2023-05-28 18:51:37 +02:00
#!/bin/sh
use ruff before black, following doc recommendation
2023-05-28 19:16:29 +02:00
python3 -m ruff --fix --exit-non-zero-on-fix .
add precommit for black and ruff
2023-05-28 18:51:37 +02:00
python3 -m black --check .
Reference in a new issue
Copy permalink