19 lines
284 B
Bash
Executable file
19 lines
284 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
export PATH=env/bin:${PATH}
|
|
|
|
coverage run manage.py test $@
|
|
|
|
echo "> Running formatter..."
|
|
black website/ --check
|
|
|
|
echo "> Running linter..."
|
|
flake8 website/
|
|
|
|
echo "> Running isort..."
|
|
isort -rc -c website/
|
|
|
|
echo "> Running type checker..."
|
|
mypy website/
|