diff --git a/Makefile b/Makefile index ce9b71653a0fbd7346d0baf82da1346955f4d77a..6ec8da8eaf4e6f3b7ca3e73e3d35ec3fd9e5aecd 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -.PHONY: docs tests check check-format mypy pylint format build deploy deploy_test +.PHONY: docs tests check check-format mypy isort pylint format build deploy deploy_test .SILENT: deploy deploy_test # do not echo commands with password # generate documentation @@ -10,13 +10,16 @@ tests: poetry run python3 -m unittest ${TESTS_FILTER} # check -check: mypy pylint check-format +check: mypy isort pylint check-format # check static typing mypy: - poetry run mypy duniterpy --ignore-missing-imports - poetry run mypy tests --ignore-missing-imports - poetry run mypy examples --ignore-missing-imports + poetry run mypy duniterpy --ignore-missing-imports + poetry run mypy tests --ignore-missing-imports + poetry run mypy examples --ignore-missing-imports + +isort: + poetry run isort duniterpy tests examples # check code errors pylint: