mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-02-28 18:10:33 +03:00
Invoke commands through python3
This commit is contained in:
parent
8c52290b94
commit
c0e770c3c9
16
Makefile
16
Makefile
|
@ -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 .
|
||||||
|
|
Loading…
Reference in New Issue
Block a user