Python correctness (i.e., lint) analyzing for Notepad++

The option "-f parseable" is deprecated in the current version of Pylint.

The current equivalent alternative is:

console.run('cmd.exe /c '
        + 'C:\\Python26\\Scripts\\pylint.bat --reports=n '
        + '--msg-template="%s" %s' 
        % ( '{path}:{line}: {msg_id}({symbol}), {obj} {msg}', notepad.getCurrentFilename()))

Note: python path can be different e.g. C:\\Python27.

Note2: double quotes in --msg-template="..." are important


If you install the Python Script plugin, then you can add a new script with the following lines to get pretty good results:

console.show()
console.clear()
console.run('cmd.exe /c '
            + 'C:\\Python26\\Scripts\\pylint.bat --reports=n -f parseable '
            + '"%s"' % notepad.getCurrentFilename())

The output will include hyperlinks to the lines with the errors/warnings (if the filenames don't have spaces in them...)