just: fmt before test, better comments
Some checks failed
gitea-physics/deepdog/pipeline/head There was a failure building this commit

This commit is contained in:
Deepak Mallubhotla 2024-03-19 15:45:15 -05:00
parent 731dabd74d
commit b6a41872d5
Signed by: deepak
GPG Key ID: 976F3357369149AB

View File

@ -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