I am using pyright through the LSP with NeoVim. Pyright currently displays a hint when I define a function where an argument isn't used, e.g.:
I would like to disable this specific hint without disabling all Pyright hints. I like the reachability analysis, but I have a separate linter that handles things like unused arguments and I find that specific hint noisy. The only relevant setting I've seen is pyright.disableTaggedHints which isn't precise enough. I do not want to rename all my unused variables to _ or refactor my code in any way to workaround a purely visual issue in my editor.
Thank you for your consideration on this
I am using pyright through the LSP with NeoVim. Pyright currently displays a hint when I define a function where an argument isn't used, e.g.:
I would like to disable this specific hint without disabling all Pyright hints. I like the reachability analysis, but I have a separate linter that handles things like unused arguments and I find that specific hint noisy. The only relevant setting I've seen is
pyright.disableTaggedHintswhich isn't precise enough. I do not want to rename all my unused variables to_or refactor my code in any way to workaround a purely visual issue in my editor.Thank you for your consideration on this