16 lines
381 B
Lua
16 lines
381 B
Lua
local lintplus = require "plugins.lintplus"
|
|
|
|
lintplus.add("flake8") {
|
|
filename = "%.py$",
|
|
procedure = {
|
|
command = lintplus.command(
|
|
{ "flake8",
|
|
lintplus.filename },
|
|
"flake8_args"
|
|
),
|
|
interpreter = lintplus.interpreter {
|
|
warning = "(.-):(%d+):(%d+): [FCW]%d+ (.+)",
|
|
error = "(.-):(%d+):(%d+): E%d+ (.+)",
|
|
}
|
|
},
|
|
}
|