mirror of
https://github.com/josean-dev/dev-environment-files.git
synced 2025-01-09 17:51:20 +01:00
Merge pull request #1 from isandesh7/isandesh7-fix-py-venv-linting
Update linting.lua
This commit is contained in:
commit
439cf9751b
1 changed files with 3 additions and 0 deletions
|
@ -25,5 +25,8 @@ return {
|
||||||
vim.keymap.set("n", "<leader>l", function()
|
vim.keymap.set("n", "<leader>l", function()
|
||||||
lint.try_lint()
|
lint.try_lint()
|
||||||
end, { desc = "Trigger linting for current file" })
|
end, { desc = "Trigger linting for current file" })
|
||||||
|
|
||||||
|
require('lint').linters.pylint.cmd = 'python'
|
||||||
|
require('lint').linters.pylint.args = {'-m', 'pylint', '-f', 'json'}
|
||||||
end,
|
end,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue