Skip to content
Snippets Groups Projects
Commit 55adbde4 authored by Moul's avatar Moul
Browse files

[mod] #162: Add make isort rule

Add isort to check rule
Align mypy
parent 18c8e7ec
No related branches found
No related tags found
No related merge requests found
.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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment