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.
gh-webhook-actor/scripts/test.sh
2018-10-26 09:16:14 +01:00

19 lines
317 B
Bash

#!/usr/bin/env python3
set -e
echo "> Running unit-tests"
nose2
echo "> Running black"
black --check app/ tests/
echo "> Running isort"
isort -rc -c app/ tests/
echo "> Running mypy"
mypy --ignore-missing-imports app/ tests/
echo "> Running flake8"
flake8 --ignore=E128,E501 app
flake8 --ignore=E128,E501 tests