The linter I'm using outputs errors in the following format:
origin:PycodestyleBear (E501):file:/Users/Virtualenv/testme.py:line:2:column:81:end_line:2:end_column:81:severity:1:severity_str:NORMAL:message:E501 line too long (164 > 80 characters)'
It is apparent that the format contains several parts:
- Type of
bearused - Error number
- File name
- line number (start)
- column number (start)
- line number (end)
- column number (end)
- Type of error message
- Error message itself
I'm writing the plugin of my linter for syntastic, and this is causing issues with the output string, how can I configure it to match the requirements?
I've tried let errorformat = 'L%l\\:%m' with no luck
Looking at Coala's documentation, it looks like you can pass:
--jsonflag to output JSON (which I hear is now supported by Syntastic),--formatflag to define your desired output format.