Detlev, PyLint could be told to include message's id in its output, but Eric filters them out. The patch attached tries to determine if message id is present and then include it instead of the category name into result dialog. Please consider it for inclusion into PyLint plugin.
Regards, Mikhail
Index: PyLint/PyLintExecDialog.py =================================================================== --- PyLint/PyLintExecDialog.py (revision 640) +++ PyLint/PyLintExecDialog.py (working copy) @@ -237,10 +237,13 @@ else: fname, lineno, fullmessage = s.split(':') type_, message = fullmessage.strip().split(']', 1) - type_ = type_.strip()[1] + type_ = type_.strip()[1:].split(',',1)[0] message = message.strip() - if self.typeDict.has_key(type_): - self.__createItem(fname, lineno, self.typeDict[type_], message) + if type_ and self.typeDict.has_key(type_[0]): + if len(type_) == 1: + self.__createItem(fname, lineno, self.typeDict[type_], message) + else: + self.__createItem(fname, lineno, type_, message) self.noResults = False except ValueError: continue
_______________________________________________ Eric mailing list Eric@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/eric