Skip to content

Commit

Permalink
add missing poetry lock step; formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
flexponsive committed Feb 14, 2023
1 parent 14afcee commit 219e077
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions e2e-tests/cookiecutters/test_cookiecutter.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,11 @@ CC_TEST_OUTPUT=$CC_BUILD_PATH/$CC_OUTPUT_DIR
if [[ -d "$CC_TEST_OUTPUT" ]]; then
rm -fr "$CC_TEST_OUTPUT"
fi
#echo cookiecutter --replay-file $REPLAY_FILE $TAP_TEMPLATE -o $CC_BUILD_PATH; exit

cookiecutter --replay-file $REPLAY_FILE $TAP_TEMPLATE -o $CC_BUILD_PATH &&
cd $CC_TEST_OUTPUT &&
pwd &&
poetry lock &&
poetry install

if [[ $? -ne 0 ]]; then
Expand All @@ -41,10 +42,10 @@ fi
# before linting, auto-fix what can be autofixed
LIBRARY_NAME=$(ls * -d | egrep "tap|target")
poetry run black $LIBRARY_NAME &&
poetry run isort $LIBRARY_NAME &&
poetry run flake8 $LIBRARY_NAME &&
poetry run pydocstyle $LIBRARY_NAME &&
poetry run mypy $LIBRARY_NAME
poetry run isort $LIBRARY_NAME &&
poetry run flake8 $LIBRARY_NAME &&
poetry run pydocstyle $LIBRARY_NAME &&
poetry run mypy $LIBRARY_NAME
##

if [[ $RUN_LINT -eq 1 ]] && [[ $? -eq 0 ]]; then
Expand Down

0 comments on commit 219e077

Please sign in to comment.