diff --git a/.pylintrc b/.pylintrc index a2f87e081b0dcbe08fb44ee73feecad7c3291db3..07c326d58c9a7174d4b6a5b4d55d7b9b3cc6285e 100644 --- a/.pylintrc +++ b/.pylintrc @@ -15,7 +15,9 @@ ignore-patterns= # Python code to execute, usually for sys.path manipulation such as # pygtk.require(). -#init-hook= +# 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 +init-hook='import sys; sys.path.append("/builds/clients/python/duniterpy/.venv")' # Use multiple processes to speed up Pylint. Specifying 0 will auto-detect the # number of processors available to use.