1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
.PHONY: test lint tox coverage dist clean
clean:
rm -rf jenkinsapi_tests/systests/localinstance_files
test:
uv run pytest -sv jenkinsapi_tests
lint:
uv run pycodestyle
uv run pylint jenkinsapi/*.py
uv run flake8 jenkinsapi/ --count --select=E9,F63,F7,F82 --ignore F821,W503,W504 --show-source --statistics
uv run flake8 jenkinsapi/ --count --exit-zero --max-complexity=10 --max-line-length=79 --statistics
tox:
tox
dist:
uv build
coverage:
uv run pytest -sv --cov=jenkinsapi --cov-report=term-missing --cov-report=xml jenkinsapi_tests
|