We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I want to help to contribute with darglint in python.
Yes
local function darglint(null_ls) return { name = "darglint", method = null_ls.methods.DIAGNOSTICS, filetypes = { "python" }, generator = null_ls.generator({ command = "darglint", args = function(params) return { "--message-template", "{path}:{line}:{msg_id}:{msg}", params.bufname } end, format = "line", check_exit_code = function(code, stderr) local success = code <= 1 if not success then vim.notify("darglint failed: " .. stderr, vim.log.levels.WARN) end return success end, on_output = function(line, params) local path, row, code, message = line:match("(.+):(%d+):(%w+):(.+)") if not path then vim.notify("Failed to parse darglint output: " .. line, vim.log.levels.WARN) return nil end row = tonumber(row) or 0 return { row = row + 1, col = 1, source = "darglint", code = code, message = message, severity = 2, -- Warning } end, }), } end
null_ls.setup({ sources = { darglint(null_ls), }, })
The text was updated successfully, but these errors were encountered:
Feel free to submit a pull request with this!
Sorry, something went wrong.
Hi @jakenvac, I would need a bit of a guide. Mostly to know:
Is there a guide for contributing?
I've "deprecated" darglint, favoring https://github.com/jsh9/pydoclint
And made this PR -> #181
No branches or pull requests
Issues
Feature description
I want to help to contribute with darglint in python.
Help
Yes
Implementation help
The text was updated successfully, but these errors were encountered: