fix: use lint local instead of requrie('lint')

This commit is contained in:
isandesh7 2024-09-03 11:08:24 -07:00 committed by GitHub
parent 439cf9751b
commit 2d44bb5191
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -26,7 +26,7 @@ return {
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' lint.linters.pylint.cmd = 'python'
require('lint').linters.pylint.args = {'-m', 'pylint', '-f', 'json'} lint.linters.pylint.args = {'-m', 'pylint', '-f', 'json'}
end, end,
} }