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
|
||||
|
||||
set -e
|
||||
|
||||
export PATH=env/bin:node_modules/.bin:${PATH}
|
||||
|
||||
set -ex
|
||||
|
||||
coverage run --source=website manage.py test $@
|
||||
|
||||
coverage report
|
||||
coverage html
|
||||
|
||||
echo "> Running formatter..."
|
||||
black website/ --check
|
||||
|
||||
echo "> Running linter..."
|
||||
flake8 website/
|
||||
|
||||
echo "> Running isort..."
|
||||
isort -rc -c website/
|
||||
|
||||
echo "> Running type checker..."
|
||||
mypy website/
|
||||
|
||||
echo "> Running eslint..."
|
||||
|
||||
eslint static/src/js
|
||||
|
|
Reference in a new issue