This repository has been archived on 2024-07-30. You can view files and clone it, but cannot push or open issues or pull requests.
python-aternos/test.sh

19 lines
309 B
Bash
Executable file

title () {
echo
echo "***"
echo "$1"
echo "***"
echo
}
title 'Checking needed modules...'
pip install pycodestyle mypy pylint
title 'Running unit tests...'
python -m unittest discover -v ./tests
title 'Running pep8 checker...'
python -m pycodestyle .
title 'Running mypy checker...'
python -m mypy .