Skip to content

Commit 5baabb5

Browse files
authored
Merge pull request #8077 from Yay295/patch-4
Add mypy task to makefile
2 parents 4b68563 + 92d1879 commit 5baabb5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,3 +118,8 @@ lint-fix:
118118
python3 -m black .
119119
python3 -c "import ruff" > /dev/null 2>&1 || python3 -m pip install ruff
120120
python3 -m ruff --fix .
121+
122+
.PHONY: mypy
123+
mypy:
124+
python3 -c "import tox" > /dev/null 2>&1 || python3 -m pip install tox
125+
python3 -m tox -e mypy

0 commit comments

Comments
 (0)