autogen/test.sh
Jack Gerrits 2dc7af87ef Add function and code execution (#34)
* WIP code execution

* add tests, reorganize

* fix polars test

* credit statements

* attributions
2024-05-29 17:12:02 -04:00

23 lines
407 B
Bash
Executable File

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
echo "--- Running pyright ---"
pyright
echo "--- Running mypy ---"
mypy
echo "--- Running pytest ---"
pytest -n auto