mirror of
https://github.com/Hopiu/llm.git
synced 2026-03-17 05:00:25 +00:00
'just push' command pushes to git only if test/lint passes
This commit is contained in:
parent
b5260b4eb0
commit
cee5b06604
1 changed files with 4 additions and 0 deletions
4
Justfile
4
Justfile
|
|
@ -40,3 +40,7 @@
|
|||
@fix: cog
|
||||
pipenv run ruff . --fix
|
||||
pipenv run black .
|
||||
|
||||
# Push commit if tests pass
|
||||
@push: test lint
|
||||
git push
|
||||
|
|
|
|||
Loading…
Reference in a new issue