archive
/
catfish
Archived
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.
catfish/scripts/test.sh

21 lines
469 B
Bash
Executable File

#!/usr/bin/env bash
set -e
export PATH=env/bin:${PATH}
echo "> Running tests..."
nose2 $@ -C --coverage catfish --verbose --coverage-report term --coverage-report html
echo "> Running formatter..."
black catfish tests setup.py --check
echo "> Running linter..."
flake8 catfish tests setup.py --ignore=E128,E501
echo "> Running isort..."
isort -rc -c catfish tests setup.py
echo "> Running type checker..."
mypy --strict-optional --ignore-missing-imports catfish