Skip to content
Snippets Groups Projects
Commit 94e7d20d authored by Moul's avatar Moul
Browse files

[mod] #135: Move pylint rules from the Makefile to the pyproject.toml

Join lines, '/' at the end is no longer necessary
http://pylint.pycqa.org/en/latest/whatsnew/2.5.html?highlight=pyproject#other-changes

Disable R0401 additionnaly for duniterpy and tests in addition to example folder
parent 5155ddd9
No related branches found
No related tags found
No related merge requests found
......@@ -20,9 +20,7 @@ mypy:
# check code errors
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 tests/
poetry run pylint --disable=C,R0902,R0903,R0904,R0912,R0913,R0914,R0915,W0613,E0401,R0801 --enable=C0121,C0202,C0321 --jobs=0 examples/
poetry run pylint duniterpy tests examples
# check format
check-format:
......
......@@ -46,3 +46,8 @@ sphinx_rtd_theme = "^0.5.0"
[tool.isort]
profile = "black"
src_paths = ["duniterpy", "tests", "examples"]
[tool.pylint.messages_control]
disable = "C,E0401,R0401,R0801,R0902,R0903,R0904,R0912,R0913,R0914,R0915,W0613"
enable = "C0121,C0202,C0321"
jobs = 0
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