Skip to content

Releases: DetachHead/basedpyright

v1.15.0 (pyright 1.1.373)

24 Jul 10:55
010fd19
Compare
Choose a tag to compare

What's Changed

  • fix intermittent errors in if not TYPE_CHECKING blocks by @DetachHead in #503
  • disable enableTypeIgnoreComments by default by @DetachHead in #504
    • it's recommended to use # pyright: ignore comments instead. see the docs for more info
  • improve documentation for contributors and explain how we keep up with upstream by @DetachHead in #505
  • don't reportAny on the Any type istelf by @DetachHead in #506
  • don't report unknown/any errors when casting by @DetachHead in #511
  • update upstream pyright version to 1.1.373 by @DetachHead in #518
  • Update pycharm installation instructions by @DetachHead in #519

Full Changelog: v1.14.0...v1.15.0

v1.14.0 (pyright 1.1.372)

17 Jul 11:46
9e22823
Compare
Choose a tag to compare

What's Changed

🚀 new pylance feature - renaming packages & modules

implemented in #460 & #499

other changes

Full Changelog: v1.13.3...v1.14.0

v1.13.3 (pyright 1.1.371)

10 Jul 12:49
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.13.2...v1.13.3

v1.13.2 (pyright 1.1.370)

03 Jul 13:04
219dad0
Compare
Choose a tag to compare

What's Changed

  • fix crash in some cases when building & installing wheel from github by @DetachHead in #465
  • update upstream pyright version to 1.1.370 by @DetachHead in #466

Full Changelog: v1.13.1...v1.13.2

v1.13.1 (pyright 1.1.369)

25 Jun 22:19
Compare
Choose a tag to compare

What's Changed

  • Update configuration.md with scoped rule example by @jmann345 in #434
  • move pre-commit to a separate repo to prevent it from attempting to build the package when the hook gets installed (fixes crash introduced in 1.13.0) by @DetachHead in #440
  • fix installing from github by @DetachHead in #448
  • fix logic in reportUnsafeMultipleInheritance to correctly account for MRO by @DetachHead in #444
  • update upstream pyright version to 1.1.369 by @DetachHead in #450
  • don't report reportUnreachable on assert_never calls by @DetachHead in #450

New Contributors

Full Changelog: v1.13.0...v1.13.1

v1.13.0 (pyright 1.1.368)

19 Jun 04:44
Compare
Choose a tag to compare

What's Changed

🚀new pylance feature: docstrings for compiled builtin modules

image

unlike pylance, this shows docstrings for all supported python versions & platforms, regardless of your current environment. in this example, the tzset function does not exist on windows, but we can still see its docstring:

you can read more about it in the docs. huge thanks to @AThePeanut4 for creating docify, which made this feature possible!

implemented in #420 and #423

other changes

  • fix pdm build script running npm install and build multiple times (fixes the issue where installing basedpyright from github takes way too long) by @DetachHead in #419
  • fix typeCheckingMode not defaulting to "all" (was broken by a recent upstream change) by @DetachHead in #422
  • update upstream pyright version to 1.1.368 by @DetachHead in #425
  • fix a bug from upstream that broke reportUninitializedInstanceVariable on NamedTuples by @DetachHead in #425

Full Changelog: v1.12.6...v1.13.0

v1.12.6 (pyright 1.1.367)

12 Jun 10:49
Compare
Choose a tag to compare

What's Changed

  • fix values with a type annotation that were narrowed to Never being coloured as a type by @DetachHead in #401
  • fix Never type aliases being coloured as a variable when using the new python 3.12 type alias syntax by @DetachHead in #403
  • update upstream pyright version to 1.1.367 by @DetachHead in #408
  • exit with code 3 on unknown config options in executionEnvironments by @DetachHead in #408

Full Changelog: v1.12.5...v1.12.6

v1.12.5 (pyright 1.1.366)

05 Jun 08:56
d864f83
Compare
Choose a tag to compare

What's Changed

  • fix values that were narrowed to Never being coloured as a type by @DetachHead in #390
  • update upstream pyright version to 1.1.366 by @DetachHead in #393
  • add back support for inline TypedDicts (it was removed in 1.1.366)

Full Changelog: v1.12.4...v1.12.5

v1.12.4 (pyright 1.1.365)

29 May 13:08
7972d3d
Compare
Choose a tag to compare

What's Changed

  • update upstream pyright version to 1.1.365 by @DetachHead in #381
  • fail with exit code 3 on errors related to the new extends config option by @DetachHead in #381

Full Changelog: v1.12.3...v1.12.4

v1.12.3 (pyright 1.1.364)

22 May 09:55
30e10ff
Compare
Choose a tag to compare

What's Changed

  • update upstream pyright version to 1.1.364 by @DetachHead in #375
  • fix Any being coloured as a variable instead of a type by @DetachHead in #373
  • documentation enhancements

Full Changelog: v1.12.2...v1.12.3