1
0
Fork 0
colorclass/build.sh
Daniel Baumann 7ffdc0dc3c
Adding upstream version 2.2.2.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-02-07 10:19:58 +01:00

11 lines
No EOL
393 B
Bash

echo assuming we still want to support python 2!
PROJECT="colorclass"
export PYTHONPATH=$PYTHONPATH:.
pylint "$PROJECT"
flake8 "$PROJECT"
python -m pytest "$PROJECT"
python -m pytest --doctest-glob="$PROJECT/**/*.py"
pytest tests -v --cov-report html:coverage --cov="$PROJECT"
echo not bumping version here, just checking if we can create the wheel
poetry build
check-wheel-contents dist/*.whl