Skip to content

Commit

Permalink
add mypy task to makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
Yay295 committed May 23, 2024
1 parent 4b68563 commit 92d1879
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -118,3 +118,8 @@ lint-fix:
python3 -m black .
python3 -c "import ruff" > /dev/null 2>&1 || python3 -m pip install ruff
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

0 comments on commit 92d1879

Please sign in to comment.