Newer
Older
dotfiles / .config / lite-xl / plugins / lintplus / linters / python.lua
@Edoko Edoko 25 days ago 381 bytes initial commit
 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+ (.+)",
     }
   },
 }