Releases: DetachHead/basedpyright
Releases · DetachHead/basedpyright
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
v1.12.2 (pyright 1.1.363)
What's Changed
- fix
reportUnsafeMultipleInheritance
false positives when the class has a base class that does not define an__init__
or__init_subclass__
by @DetachHead in #351 - update pyright version to 1.1.363 by @DetachHead in #363
- fix
reportAbstractUsage
conflicting withreportMisssingSuperCall
by @DetachHead in #352
New Contributors
Full Changelog: v1.12.1...v1.12.2
v1.12.1 (pyright 1.1.362)
What's Changed
- fix
reportUnsafeMultipleInheritance
false positives onTypedDict
s and dataclasses by @DetachHead in #344
Full Changelog: v1.12.0...v1.12.1
v1.12.0 (pyright 1.1.362)
What's Changed
- switch from nodejs-bin to nodejs-wheel by @lewis6991 in #323
- this should fix node errors on some older operating systems
- update upstream pyright version to 1.1.362 by @DetachHead in #340
- add option to ban unsafe multiple inheritance by @DetachHead in #334
- this makes
reportMissingSuperCall
less annoying, as it no longer needs to report missingsuper()
calls on classes with no base class whenreportUnsafeMultipleInheritance
is enabled
- this makes
New Contributors
- @lewis6991 made their first contribution in #323
Full Changelog: v1.11.0...v1.12.0
v1.11.0 (pyright 1.1.361)
What's Changed
- allow running as a Python module (ie.
python -m basedpyright
) by @vemel in #324 - support disabling deprecation, unused and unreachable hints in diagnostic severity overrides by @DetachHead in #326
- exit with code 3 when an invalid diagnostic severity override value is specified by @DetachHead in #326
- Adjust readme to document that
pyright: ignore
is safer and preferred overtype: ignore
comments by @KotlinIsland in #331 - fix normal variables incorrectly getting a
TypeAlias
inlay hint if their type came from a type alias by @DetachHead in #328 - update upstream pyright version to 1.1.361 by @DetachHead in #333
New Contributors
Full Changelog: v1.10.4...v1.11.0
v1.10.4 (pyright 1.1.360)
What's Changed
- activate vscode extension if workspace contains a
pyproject.toml
by @DetachHead in #316 - bump upstream pyright version to 1.1.360 by @DetachHead in #322
- document how to use the new pyright pycharm plugin(s) with basedpyright by @DetachHead in #322
Full Changelog: v1.10.3...v1.10.4