diff --git a/pyproject.toml b/pyproject.toml index 1dc5ec8b2c6fd381772523848861af08b29f1a16..b6026d7611d430ab60e9a76c10f44faedfbd2e63 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -40,6 +40,11 @@ pylint = "^2.6.0" sphinx = "^3.2.1" sphinx_rtd_theme = "^0.5.0" +# Trick for pylint CI job to not stumble upon E0401 and E1101 import issues +# This is the path of Poetry virtualenv in order to found the dependencies +#[tool.pylint.master] +#init-hook = "import sys; sys.path.append('/builds/clients/python/duniterpy/.venv')" + [tool.pylint.messages_control] disable = "C,R0902,R0903,R0904,R0912,R0913,R0914,R0915,W0613" enable = "C0121,C0202,C0321"