Skip to content
Snippets Groups Projects
Commit 0724f050 authored by Moul's avatar Moul
Browse files

[mod] #162: Add make isort rule

Align mypy
parent ad2fac17
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 .SILENT: deploy deploy_test # do not echo commands with password
# generate documentation # generate documentation
...@@ -18,6 +18,9 @@ mypy: ...@@ -18,6 +18,9 @@ mypy:
poetry run mypy tests --ignore-missing-imports poetry run mypy tests --ignore-missing-imports
poetry run mypy examples --ignore-missing-imports poetry run mypy examples --ignore-missing-imports
isort:
poetry run isort duniterpy tests examples
# check code errors # check code errors
pylint: pylint:
poetry run pylint --disable=C,R0902,R0903,R0904,R0912,R0913,R0914,R0915,W0613,R0801 --enable=C0121,C0202,C0321 --jobs=0 duniterpy/ poetry run pylint --disable=C,R0902,R0903,R0904,R0912,R0913,R0914,R0915,W0613,R0801 --enable=C0121,C0202,C0321 --jobs=0 duniterpy/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment