prevent stderr from messing up the terminal, in the (usual) case of no pylintrc found
This commit is contained in:
parent
9f1cdfd92c
commit
1a91488451
@ -7,7 +7,7 @@
|
|||||||
function! SyntaxCheckers_python_GetLocList()
|
function! SyntaxCheckers_python_GetLocList()
|
||||||
let makeprg = 'pylint -f parseable -r n -i y ' .
|
let makeprg = 'pylint -f parseable -r n -i y ' .
|
||||||
\ shellescape(expand('%')) .
|
\ shellescape(expand('%')) .
|
||||||
\ ' \| sed ''s_: \[[RC]_: \[W_''' .
|
\ ' \|& sed ''s_: \[[RC]_: \[W_''' .
|
||||||
\ ' \| sed ''s_: \[[F]_:\ \[E_'''
|
\ ' \| sed ''s_: \[[F]_:\ \[E_'''
|
||||||
let errorformat = '%f:%l: [%t%n%.%#] %m,%-GNo config%m'
|
let errorformat = '%f:%l: [%t%n%.%#] %m,%-GNo config%m'
|
||||||
return SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat })
|
return SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat })
|
||||||
|
Loading…
Reference in New Issue
Block a user