mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-25 17:36:18 +03:00
add mypy task to makefile
This commit is contained in:
parent
4b68563e8a
commit
92d1879a77
5
Makefile
5
Makefile
|
@ -118,3 +118,8 @@ lint-fix:
|
||||||
python3 -m black .
|
python3 -m black .
|
||||||
python3 -c "import ruff" > /dev/null 2>&1 || python3 -m pip install ruff
|
python3 -c "import ruff" > /dev/null 2>&1 || python3 -m pip install ruff
|
||||||
python3 -m ruff --fix .
|
python3 -m ruff --fix .
|
||||||
|
|
||||||
|
.PHONY: mypy
|
||||||
|
mypy:
|
||||||
|
python3 -c "import tox" > /dev/null 2>&1 || python3 -m pip install tox
|
||||||
|
python3 -m tox -e mypy
|
||||||
|
|
Loading…
Reference in New Issue
Block a user