Invoke commands through python3

This commit is contained in:
Andrew Murray 2022-02-22 11:54:42 +11:00 committed by Hugo van Kemenade
parent 8c52290b94
commit c0e770c3c9

View File

@ -81,8 +81,8 @@ release-test:
-rm dist/*.egg -rm dist/*.egg
-rmdir dist -rmdir dist
python3 -m pytest -qq python3 -m pytest -qq
check-manifest python3 -m check-manifest
pyroma . python3 -m pyroma .
$(MAKE) readme $(MAKE) readme
.PHONY: sdist .PHONY: sdist
@ -92,7 +92,7 @@ sdist:
.PHONY: test .PHONY: test
test: test:
pytest -qq python3 -m pytest -qq
.PHONY: valgrind .PHONY: valgrind
valgrind: valgrind:
@ -103,15 +103,15 @@ valgrind:
.PHONY: readme .PHONY: readme
readme: readme:
markdown2 README.md > .long-description.html && open .long-description.html python3 -m markdown2 README.md > .long-description.html && open .long-description.html
.PHONY: lint .PHONY: lint
lint: lint:
tox --help > /dev/null || python3 -m pip install tox python3 -c "import tox" || python3 -m pip install tox
tox -e lint python3 -m tox -e lint
.PHONY: lint-fix .PHONY: lint-fix
lint-fix: lint-fix:
black --target-version py37 . python3 -m black --target-version py37 .
isort . python3 -m isort .