"============================================================================ "File: pylint.vim "Description: Syntax checking plugin for syntastic.vim "Author: Parantapa Bhattacharya " "============================================================================ function! SyntaxCheckers_python_GetLocList() let makeprg = syntastic#makeprg#build({ \ 'exe': 'pylint', \ 'args': g:syntastic_python_checker_args. ' -f parseable -r n -i y', \ 'tail': s:MakeprgTail(), \ 'subchecker': 'pylint' }) let errorformat = '%f:%l: [%t] %m,%Z,%-GNo config %m' return SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat }) endfunction function! s:MakeprgTail() return ' 2>&1 \| sed ''s_: \[\([RCW]\)_: \[W] \[\1_''' . \ ' \| sed ''s_: \[\([FE]\)_:\ \[E] \[\1_''' endfunction