Hi,
on a Linux machine (Ubuntu 14.04), in order to enable PEP8 in Komodo Edit 9, I’ve set up:
Preference
> Syntax Checking
>
Enable background syntax checking after 1000 msec: enabled
Than for Python3:
Python Interpreter Syntax Checking: enabled
Do pep8 checking: enabled
Location of pep8 config file to use: /usr/lib/python3/dist-packages/pep8.py
But only syntax errors are recognised. Why?
At the moment I’m using the following macro:
komodo.assertMacroVersion(3);
if (komodo.view) {
komodo.view.setFocus();
}
ko.commands.doCommand(‘cmd_save’);
ko.run.output.kill(-1);
setTimeout(function(){
ko.run.runEncodedCommand(window, ‘pep8 '%F' {'parseRegex': u'^(?P.+?):(?P\\d+):(?P.*)$', 'showParsedOutputList': True, 'parseOutput': True}’);
}, 100);
which saves and checks the script. It works very well, but I’d like to use the built-in method (if possible).
Thanks