mirror of
https://gitlab.com/tildes/tildes.git
synced 2026-04-17 06:48:36 +02:00
Add Black format check to git hooks
This commit is contained in:
@@ -4,4 +4,5 @@
|
||||
|
||||
vagrant ssh -c ". activate \
|
||||
&& echo 'Checking mypy type annotations...' && mypy . \
|
||||
&& echo 'Checking if Black would reformat any code...' && black --check . \
|
||||
&& echo -n 'Running tests: ' && pytest -q"
|
||||
|
||||
Reference in New Issue
Block a user