just: fmt before test, better comments
Some checks failed
gitea-physics/deepdog/pipeline/head There was a failure building this commit
Some checks failed
gitea-physics/deepdog/pipeline/head There was a failure building this commit
This commit is contained in:
parent
731dabd74d
commit
b6a41872d5
5
justfile
5
justfile
@ -17,7 +17,8 @@ checknix:
|
||||
echo "Using poetry as runner, no nix detected."
|
||||
fi
|
||||
|
||||
test:
|
||||
# run all tests
|
||||
test: fmt
|
||||
#!/usr/bin/env bash
|
||||
set -euxo pipefail
|
||||
|
||||
@ -33,6 +34,7 @@ test:
|
||||
poetry run pytest
|
||||
fi
|
||||
|
||||
# format code
|
||||
fmt:
|
||||
#!/usr/bin/env bash
|
||||
set -euxo pipefail
|
||||
@ -43,6 +45,7 @@ fmt:
|
||||
fi
|
||||
find . -type f -name "*.py" -exec sed -i -e 's/ /\t/g' {} \;
|
||||
|
||||
# release the app, checking that our working tree is clean and ready for release
|
||||
release:
|
||||
./scripts/release.sh
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user