diff --git a/Makefile b/Makefile
index 6ec8da8eaf4e6f3b7ca3e73e3d35ec3fd9e5aecd..cf3dacb2201220958b2ec9cd4d1a81133452f8be 100644
--- a/Makefile
+++ b/Makefile
@@ -23,9 +23,7 @@ isort:
 
 # 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:
diff --git a/pyproject.toml b/pyproject.toml
index d5fceba71e09e8ba673bbe4afb0ab7f06b213d77..5c0d35388178e19da67f23b614b9aa793f1b4b0e 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -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,R0401,R0801,R0902,R0903,R0904,R0912,R0913,R0914,R0915,W0613"
+enable = "C0121,C0202,C0321"
+jobs = 0