diff --git a/Makefile b/Makefile
index ce9b71653a0fbd7346d0baf82da1346955f4d77a..bac812af278b66adeb18d574e92781a7a8bd5e9b 100644
--- a/Makefile
+++ b/Makefile
@@ -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:
diff --git a/pyproject.toml b/pyproject.toml
index a81bb69f80b2aea05e58cdf6ab33859764c0cff8..b23d100152f23d7884e48d12e9e4813f65eb14fd 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,E0401,R0401,R0801,R0902,R0903,R0904,R0912,R0913,R0914,R0915,W0613"
+enable = "C0121,C0202,C0321"
+jobs = 0