I have PyLint installed in one virtualenv (and configured in PyDev's preferences for PyLint) while my project is configured to use another virtualenv (as Python interpreter) which has also another PyLint installed. It seems that PyDev picks up PyLint installed in the virtualenv set as interpreter for the project and not the one set in the PyDev's preferences for PyLint (the setting "Location of pylint (lint.py)").
Is this known fact?
Is this a feature or a bug?
If it's a feature is there any information on this subject in the docs?
I just checked and it always uses the lint.py in the preferences, but it'll use the python executable that's related to your project (so, if you have 2 projects each with a different interpreter lint.py will be called with different interpreters).
See: https://github.com/aptana/Pydev/blob/master/plugins/org.python.pydev/src/org/python/pydev/builder/pylint/PyLintVisitor.java (lines: 180-208)
Thanks for the information.
Isn't this dangerous in a sense there could be a mismatch? lint.py set in the preferences could be from one version of PyLint whereas PyLint available from the interpreter set for the project could be a different version.