Merge pull request #1 from isandesh7/isandesh7-fix-py-venv-linting

Update linting.lua
This commit is contained in:
isandesh7 2024-09-03 11:02:26 -07:00 committed by GitHub
commit 439cf9751b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -25,5 +25,8 @@ return {
vim.keymap.set("n", "<leader>l", function()
lint.try_lint()
end, { desc = "Trigger linting for current file" })
require('lint').linters.pylint.cmd = 'python'
require('lint').linters.pylint.args = {'-m', 'pylint', '-f', 'json'}
end,
}