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

20 lines
317 B
Bash
Raw Permalink Normal View History

2018-10-25 19:55:17 +01:00
#!/usr/bin/env python3
set -e
2018-10-26 09:16:14 +01:00
echo "> Running unit-tests"
nose2
2018-10-25 19:55:17 +01:00
echo "> Running black"
2018-10-26 09:16:14 +01:00
black --check app/ tests/
2018-10-25 19:55:17 +01:00
echo "> Running isort"
2018-10-26 09:16:14 +01:00
isort -rc -c app/ tests/
2018-10-25 19:55:17 +01:00
echo "> Running mypy"
2018-10-26 09:16:14 +01:00
mypy --ignore-missing-imports app/ tests/
2018-10-25 19:55:17 +01:00
echo "> Running flake8"
flake8 --ignore=E128,E501 app
2018-10-26 09:16:14 +01:00
flake8 --ignore=E128,E501 tests