diff --git a/Makefile b/Makefile index b3dec4eb..f39a3215 100644 --- a/Makefile +++ b/Makefile @@ -1,17 +1,19 @@ .PHONY: test lint tox coverage dist test: - pytest -sv jenkinsapi_tests + uv run pytest -sv jenkinsapi_tests lint: - pycodestyle - pylint jenkinsapi/*.py + 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: - python setup.py sdist bdist_wheel + uv build coverage: - pytest -sv --cov=jenkinsapi --cov-report=term-missing --cov-report=xml jenkinsapi_tests + uv run pytest -sv --cov=jenkinsapi --cov-report=term-missing --cov-report=xml jenkinsapi_tests