Skip to content

choices is being treated as a tuple rather than a string in the latest version of Pyright #313

@tylerlaprade

Description

@tylerlaprade

After upgrading to Pyright 1.1.402, I have a bunch of type errors regarding unnecessaryComparison. I'm not sure exactly where the breakdown is happening, but it feels specific to this library as there are no other false positives.

Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions