Skip to content

Commit

Permalink
makefile: update for uv compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
clintonsteiner committed Jan 7, 2025
1 parent 9318b3f commit 571ad14
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 571ad14

Please sign in to comment.