PyLint 1.0.0 with PyDev + Eclipse: the include-ids option is no longer enabled, aborts Eclipse integration

As noted in this question: How to get Pylint message identifiers to display after pylint-1.0.0?

pylint 1.0.0 no longer accepts the include-ids parameter. (It returns "lint.py: error: no such option: --include-ids"). Unfortunately, in integration with PyDev / Eclipse there is this little nugget: "-include-ids = y is always on ...".

How to disable this argument to make Pylint work with Eclipse?

[I know that other alternatives include installing the old version of Pylint or starting pylint from the command line without this option (which really works), but I would like to have integration with Eclipse.]

+6
source share
3 answers

This should be fixed in the latest nightly build. Please take it there.

See http://pydev.org/download.html for details on how to get it.

+7
source

To make an identifier in problem representation on Eclispe using PyDev, make sure you use

msg-template={msg_id}:{line:3d},{column}: {obj}: {msg} 

in pylintrc or in command line options. Eclipse needs this to analyze the output of PyLint.

+3
source

The following option works with pylint v1.4.3 under pydev v3.9.2:

 --msg-template="{msg_id}:{line:3d},{column:2d}:{msg}" 

Note. Do not put spaces after the decimal point, otherwise it will not work.

+1
source

Source: https://habr.com/ru/post/952219/


All Articles