Skip to content

Allow more fine-grained configuration of tagged hints #11278

@lihu-zhong

Description

@lihu-zhong

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.:

Image

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions