mirror of
https://github.com/zyedidia/micro.git
synced 2026-02-05 06:30:28 +09:00
plugin: linter: change in ruff configuration
Use `--output-format concise` as suggested to get exact column of error Co-authored-by: Mikko <Andriamanitra@users.noreply.github.com>
This commit is contained in:
@@ -82,7 +82,7 @@ function preinit()
|
||||
makeLinter("pyflakes", "python", "pyflakes", {"%f"}, "%f:%l:.-:? %m")
|
||||
makeLinter("mypy", "python", "mypy", {"%f"}, "%f:%l: %m")
|
||||
makeLinter("pylint", "python", "pylint", {"--output-format=parseable", "--reports=no", "%f"}, "%f:%l: %m")
|
||||
makeLinter("ruff", "python", "ruff", {"check", "--output-format=pylint", "%f"}, "%f:%l: %m")
|
||||
makeLinter("ruff", "python", "ruff", {"check", "--output-format=concise", "%f"}, "%f:%l:%c: %m")
|
||||
makeLinter("flake8", "python", "flake8", {"%f"}, "%f:%l:%c: %m")
|
||||
makeLinter("shfmt", "shell", "shfmt", {"%f"}, "%f:%l:%c: %m")
|
||||
makeLinter("shellcheck", "shell", "shellcheck", {"-f", "gcc", "%f"}, "%f:%l:%c:.+: %m")
|
||||
|
||||
Reference in New Issue
Block a user