Use set -x
rather than echoing progress
This commit is contained in:
parent
48cfaf8025
commit
fdcc881f81
1 changed files with 2 additions and 7 deletions
|
@ -1,26 +1,21 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
export PATH=env/bin:node_modules/.bin:${PATH}
|
export PATH=env/bin:node_modules/.bin:${PATH}
|
||||||
|
|
||||||
|
set -ex
|
||||||
|
|
||||||
coverage run --source=website manage.py test $@
|
coverage run --source=website manage.py test $@
|
||||||
|
|
||||||
coverage report
|
coverage report
|
||||||
coverage html
|
coverage html
|
||||||
|
|
||||||
echo "> Running formatter..."
|
|
||||||
black website/ --check
|
black website/ --check
|
||||||
|
|
||||||
echo "> Running linter..."
|
|
||||||
flake8 website/
|
flake8 website/
|
||||||
|
|
||||||
echo "> Running isort..."
|
|
||||||
isort -rc -c website/
|
isort -rc -c website/
|
||||||
|
|
||||||
echo "> Running type checker..."
|
|
||||||
mypy website/
|
mypy website/
|
||||||
|
|
||||||
echo "> Running eslint..."
|
|
||||||
|
|
||||||
eslint static/src/js
|
eslint static/src/js
|
||||||
|
|
Reference in a new issue