pypi basedpyright 1.35.0
v1.35.0 (pyright 1.1.407)

6 hours ago

What's Changed

improved completions for Literals and enums

in pyright/pylance, you only get completions for Literals that contain strings:

image

but in basedpyright, this now also works with Literals that contain other types, such as int, bool and Enum values:

image

unlike pyright/pylance, basedpyright now also supports completions for enum values:

image

this also works for other types of enums such as IntEnum and StrEnum

implemented by @KurtBoehm in #1644 & #1658

Full Changelog: v1.34.0...v1.35.0

Don't miss a new basedpyright release

NewReleases is sending notifications on new releases.