This repository has been archived by the owner on Aug 12, 2023. It is now read-only.
ruff extra options setup #1435
Unanswered
gennaro-tedesco
asked this question in
Q&A
Replies: 1 comment 1 reply
-
You may want to try splitting up each argument into a table element, e.g.: null_ls.builtins.diagnostics.<name>.with({ extra_args = { "--flag", "value", } }), Debug mode should also help figure out what’s going on, since you’ll be able to see error messages from the linter. Finally, I haven’t used it myself, but there is a |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have started using the in-built ruff diagnostics and formatter, and I am trying to configure command line options as per general configuration settings.
As far as I know, for sources that support extra argument options, the general syntax to enable them is, say
this works pretty well for most, however it seems not to work for
ruff
: are such extra args allowed?For example doing
resolves in
ruff
not being run at all (so probably it is either excepting with some errors that I do not see, causing it to exit altogether, or it is running and not linting anything at all).Beta Was this translation helpful? Give feedback.
All reactions