Skip to content
Snippets Groups Projects
Commit 86e38051 authored by Vincent Texier's avatar Vincent Texier
Browse files

[fix] fix check error with pylint 2.7.2

Skip R0801 Duplicate code fragment
parent fa47135d
No related branches found
No related tags found
2 merge requests!128Release 0.62.0,!122#143 block inner hash and sign
Pipeline #11037 waiting for manual action
...@@ -20,9 +20,9 @@ mypy: ...@@ -20,9 +20,9 @@ mypy:
# check code errors # check code errors
pylint: pylint:
poetry run pylint --disable=C,R0902,R0903,R0904,R0912,R0913,R0914,R0915,W0613 --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/
poetry run pylint --disable=C,R0902,R0903,R0904,R0912,R0913,R0914,R0915,W0613 --enable=C0121,C0202,C0321 --jobs=0 tests/ 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 --enable=C0121,C0202,C0321 --jobs=0 examples/ poetry run pylint --disable=C,R0902,R0903,R0904,R0912,R0913,R0914,R0915,W0613,E0401,R0801 --enable=C0121,C0202,C0321 --jobs=0 examples/
# check format # check format
check-format: check-format:
......
...@@ -37,6 +37,6 @@ graphql-core = "^3.1.2" ...@@ -37,6 +37,6 @@ graphql-core = "^3.1.2"
[tool.poetry.dev-dependencies] [tool.poetry.dev-dependencies]
black = "^20.8b1" black = "^20.8b1"
mypy = "^0.790" mypy = "^0.790"
pylint = "^2.6.0" pylint = "^2.7.2"
sphinx = "^3.2.1" sphinx = "^3.2.1"
sphinx_rtd_theme = "^0.5.0" sphinx_rtd_theme = "^0.5.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