1
Fork 0
This repository has been archived on 2023-03-26. You can view files and clone it, but cannot push or open issues or pull requests.
website-2020-spike/scripts/test.sh

20 lines
284 B
Bash
Raw Normal View History

2020-04-12 14:41:27 +01:00
#!/usr/bin/env bash
set -e
export PATH=env/bin:${PATH}
2020-04-12 15:46:37 +01:00
coverage run manage.py test $@
2020-04-12 14:41:27 +01:00
echo "> Running formatter..."
black website/ --check
echo "> Running linter..."
flake8 website/
echo "> Running isort..."
isort -rc -c website/
echo "> Running type checker..."
mypy website/