autogen/test.sh

23 lines
407 B
Bash
Raw Normal View History

set -e
# Current script directory
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
if [[ "$VIRTUAL_ENV" == "" ]]
then
echo "Virtual environment is not activated"
exit 1
fi
cd $DIR
echo "--- Running ruff format ---"
ruff format
echo "--- Running ruff check ---"
ruff check
2024-05-17 11:09:59 -04:00
echo "--- Running pyright ---"
pyright
2024-05-17 11:09:59 -04:00
echo "--- Running mypy ---"
mypy
2024-05-20 17:30:45 -06:00
echo "--- Running pytest ---"
pytest -n auto