diff options
author | Elena ``of Valhalla'' Grandi <valhalla@trueelena.org> | 2024-04-16 09:32:10 +0200 |
---|---|---|
committer | Elena ``of Valhalla'' Grandi <valhalla@trueelena.org> | 2024-04-16 09:32:10 +0200 |
commit | 99c4e883049c5a797e63df396d3530b77700a1d5 (patch) | |
tree | 58a3bbc3504731d737a2d31bf601af3731a1b9e4 /check | |
parent | f3a49e6a8ad7247fbe32e455cdc1e3f217a0e073 (diff) |
Modernize packaging with pyproject.toml and setuptool_scm.
Diffstat (limited to 'check')
-rwxr-xr-x | check | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -11,7 +11,7 @@ then fi PYTHON="${PYTHON:-python3}" -NOSE2="${NOSE2:-$PYTHON -m nose2}" +COVERAGE="${COVERAGE:-python3-coverage}" export PYTHONDEVMODE=1 @@ -20,11 +20,11 @@ shift 1 case $SUBCMD in "tests") - $NOSE2 $COVER_OPT --log-level=ERROR -B --log-capture $* + $PYTHON -m unittest discover -s tests ;; "coverage") - $NOSE2 --with-coverage --coverage-report=term-missing \ - --log-level=ERROR -B --log-capture $* + $COVERAGE run --source=hazwaz -m unittest discover -s tests + $COVERAGE report -m ;; "qa") flake8 --select=E,F,W,C90,E123 --ignore=W503 . |