Releases: DetachHead/basedpyright
Releases · DetachHead/basedpyright
v1.15.0 (pyright 1.1.373)
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
- it's recommended to use
- 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)
What's Changed
🚀 new pylance feature - renaming packages & modules
other changes
- improve emacs installation instructions by @DetachHead in #493
- update upstream pyright version to 1.1.372 by @DetachHead in #501
Full Changelog: v1.13.3...v1.14.0
v1.13.3 (pyright 1.1.371)
What's Changed
- add lsp-bridge for emacs by @manateelazycat in #479
- docstrings for builtin modules that are partially compiled (thanks again to @AThePeanut4 for docify) by @DetachHead in #485
- update upstream pyright version to 1.1.371 by @DetachHead in #489
New Contributors
- @manateelazycat made their first contribution in #479
Full Changelog: v1.13.2...v1.13.3
v1.13.2 (pyright 1.1.370)
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)
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
onassert_never
calls by @DetachHead in #450
New Contributors
Full Changelog: v1.13.0...v1.13.1
v1.13.0 (pyright 1.1.368)
What's Changed
🚀new pylance feature: docstrings for compiled builtin modules
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!
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
onNamedTuple
s by @DetachHead in #425
Full Changelog: v1.12.6...v1.13.0
v1.12.6 (pyright 1.1.367)
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)
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
TypedDict
s (it was removed in 1.1.366)
Full Changelog: v1.12.4...v1.12.5
v1.12.4 (pyright 1.1.365)
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)
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
- new URL: https://docs.basedpyright.com
- explain how to use the CLI & language server from pypi and make it clear that many of the IDE plugins require them to be installed by @DetachHead in #366
- Improve Neovim installation instructions by @baco in #368
Full Changelog: v1.12.2...v1.12.3