pylint #3285 option for Visual Studio line number reporting [resolved]

Request by Olaf Meding:

I would be great if support for MS Visual Studio could be added in terms of reporting line numbers.

Currently the output format of PyLint is:

C:\somepath\somefile.py:12: [C0301] Line too long (116/80)

What is needed is:

C:\somepath\collect.py(12): [C0301] Line too long (116/80)
I edited the below file for now.

site-packagespylintreporterstext.py:

#self.writeln('%s:%s: [%s%s] %s' % (path, line, sigle, obj, msg))
self.writeln('%s(%s): [%s%s] %s' % (path, line, sigle, obj, msg))

All that is needed is changing ":n:" to "(n):", where n is the line number. Many thanks for considering making this configurable.

prioritynormal
typeenhancement
done in0.13.0
load0.250
load left0.000
closed by<not specified>