decli/scripts/test

11 lines
219 B
Text
Raw Permalink Normal View History

#!/bin/sh -e
pr() {
poetry run python -m "$@"
}
pr pytest --cov-report term-missing --cov-report=xml:coverage.xml --cov=decli "${1:-tests}"
pr black decli tests --check
pr ruff decli/ tests/
pr mypy decli/ tests/