xref: /vim-8.2.3635/runtime/compiler/pylint.vim (revision c0514bf4)
1" Vim compiler file
2" Compiler:	Pylint for Python
3" Maintainer: Daniel Moch <[email protected]>
4" Last Change: 2016 May 20
5
6if exists("current_compiler")
7  finish
8endif
9let current_compiler = "pylint"
10
11if exists(":CompilerSet") != 2		" older Vim always used :setlocal
12  command -nargs=* CompilerSet setlocal <args>
13endif
14
15CompilerSet makeprg=pylint\ --output-format=text\ --msg-template=\"{path}:{line}:{column}:{C}:\ [{symbol}]\ {msg}\"\ --reports=no
16CompilerSet errorformat=%A%f:%l:%c:%t:\ %m,%A%f:%l:\ %m,%A%f:(%l):\ %m,%-Z%p^%.%#,%-G%.%#
17