Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
==1.29.5->==1.36.11.36.24.5.0->4.5.10.14.8->0.14.90.14.10Release Notes
detachhead/basedpyright (basedpyright)
v1.36.1: (pyright 1.1.407)Compare Source
What's Changed
Full Changelog: DetachHead/basedpyright@v1.36.0...v1.36.1
v1.36.0: (pyright 1.1.407)Compare Source
What's Changed
--baselinemodecli argument by @DetachHead in DetachHead#1667Any, unknown, and unions by @KurtBoehm in DetachHead#1670Full Changelog: DetachHead/basedpyright@v1.35.0...v1.36.0
v1.35.0: (pyright 1.1.407)Compare Source
What's Changed
improved completions for
Literals and enumsin pyright/pylance, you only get completions for
Literals that contain strings:but in basedpyright, this now also works with
Literals that contain other types, such asint,boolandEnumvalues:unlike pyright/pylance, basedpyright now also supports completions for enum values:
this also works for other types of enums such as
IntEnumandStrEnumimplemented by @KurtBoehm in DetachHead#1644 & DetachHead#1658
Full Changelog: DetachHead/basedpyright@v1.34.0...v1.35.0
v1.34.0: (pyright 1.1.407)Compare Source
What's Changed
textDocument/implementationaka "Go to Implementations" by @beauxq in DetachHead#1636 & DetachHead#1649Full Changelog: DetachHead/basedpyright@v1.33.0...v1.34.0
v1.33.0: (pyright 1.1.407)Compare Source
What's Changed
hover and "go to definition" on operators
pylance supports "go to definition" on some operators. basedpyright now supports this and takes it a step further by also showing hover information as well:
implemented by @KurtBoehm in DetachHead#1576
docs
other changes
basedpyright.configFilePathto the language server by @brunovollmer in DetachHead#1607New Contributors
Full Changelog: DetachHead/basedpyright@v1.32.1...v1.33.0
v1.32.1: (pyright 1.1.407)Compare Source
What's Changed
dataclass_transformthat was introduced in pyright 1.1.407 by @DetachHead in DetachHead#1595Full Changelog: DetachHead/basedpyright@v1.32.0...v1.32.1
v1.32.0: (pyright 1.1.407)Compare Source
What's Changed
enableBasedFeaturesuntil now, basedpyright-exclusive type checking features have mostly come in the form of an additional diagnostic rule that users have the option to disable. but this approach limits us from making any interesting breaking changes to the type system itself.
this release introduces a new setting called
enableBasedFeatures, which is disabled by default. enabling it will opt you into any changes we make that introduce breaking changes to the type system. in other words, if you're developing a library and expect your users to be using other type checkers, you should probably keep it disabled.currently only one feature is behind this flag: the new
skip_replaceargument to the@dataclass_transformdecorator, implemented by @decorator-factory in DetachHead#1568new diagnostic rule -
reportSelfClsDefaultPyright allows specifying a default value for
selfin instance methods andclsin class methods:this is almost certainly a mistake, so this new diagnostic rule will warn against it.
also implemented by @decorator-factory in DetachHead#1581
docs
other changes
basedpyrightinstead ofpythonwhen instantiating vscode'sLanguageClientso that the logging can be configured usingbasedpyright.trace.serverby @DetachHead in DetachHead#1583paramNameMissingby @NCBM in DetachHead#1588Full Changelog: DetachHead/basedpyright@v1.31.7...v1.32.0
v1.31.7: (pyright 1.1.406)Compare Source
What's Changed
performance fixes
reportUnannotatedClassAttributeby @DetachHead in DetachHead#1544semantic highlighting
docs
other changes
array.arrayat runtime on python <3.12 by @DetachHead in DetachHead#1552string.templatelibmodule and generate stub docstrings for 3.14 by @DetachHead in DetachHead#1551New Contributors
Full Changelog: DetachHead/basedpyright@v1.31.6...v1.31.7
v1.31.6: (pyright 1.1.406)Compare Source
What's Changed
reportMatchNotExhaustiveand missingreportImplicitOverridein the docs by @DetachHead in DetachHead#1522vfrom rev tag for prek in the docs by @sakosha in DetachHead#1520New Contributors
Full Changelog: DetachHead/basedpyright@v1.31.5...v1.31.6
v1.31.5: (pyright 1.1.405)Compare Source
What's Changed
semantic highlighting
__builtins__.pyiby @Wizzerinus in DetachHead#1451baseline
--baselinefilecli argument and update the docs to reflect that the baseline file functionality is now stable by @DetachHead in DetachHead#1480docs
uv pip install->uv tool installby @HairlessVillager in DetachHead#1482other changes
\N{(named unicode characters) in strings being turned into f-strings by @DetachHead in DetachHead#1504reportInvalidTypeVarUsefor type var in return type by @KotlinIsland in DetachHead#1498basedpyright.analysis.inlayHints.genericTypesby default by @KotlinIsland in DetachHead#1513New Contributors
Full Changelog: DetachHead/basedpyright@v1.31.4...v1.31.5
v1.31.4: (pyright 1.1.405)Compare Source
What's Changed
allowedUntypedLibrarieswork on overloads by @leonardo-panseri in DetachHead#1437autoFormatStringswhen client does not support dynamic registration foronTypeFormattingby @ribru17 in DetachHead#1452New Contributors
Full Changelog: DetachHead/basedpyright@v1.31.3...v1.31.4
v1.31.3: (pyright 1.1.404)Compare Source
What's Changed
diagnosticSeverityOverridesby @DetachHead in DetachHead#1431Full Changelog: DetachHead/basedpyright@v1.31.2...v1.31.3
v1.31.2: (pyright 1.1.403)Compare Source
What's Changed
prefligittoprekin docs by @j178 in DetachHead#1423New Contributors
Full Changelog: DetachHead/basedpyright@v1.31.1...v1.31.2
v1.31.1: (pyright 1.1.403)Compare Source
What's Changed
# pyright: ignorecode actions inserting the comment before the last character if the error is on the last line in the file by @DetachHead in DetachHead#1398__init__and__new__methods by @DetachHead in DetachHead#1415Full Changelog: DetachHead/basedpyright@v1.31.0...v1.31.1
v1.31.0: (pyright 1.1.403)Compare Source
What's Changed
automatic conversion to f-string when typing
{inside a stringimplement
basedpyright.analysis.autoFormatStringssetting from pylance:implemented in DetachHead#1390
other changes
writeBaseline,restartServerandcreateTypeStubcommands only being registered in the vscode extension instead of the language server by @DetachHead in DetachHead#1385reportImplicitAbstractClassto"error"whentypeCheckingModeis"recommended"by @tylerlaprade in DetachHead#1392Full Changelog: DetachHead/basedpyright@v1.30.1...v1.31.0
v1.30.1: (pyright 1.1.403)Compare Source
What's Changed
Full Changelog: DetachHead/basedpyright@v1.30.0...v1.30.1
v1.30.0: (pyright 1.1.403)Compare Source
What's Changed
# pyright: ignorecomments by @DetachHead in DetachHead#1359New Contributors
Full Changelog: DetachHead/basedpyright@v1.29.5...v1.30.0
pre-commit/pre-commit (pre-commit)
v4.5.1Compare Source
==================
Fixes
language: pythonwithrepo: localwithoutadditional_dependencies.astral-sh/ruff (ruff)
v0.14.9Compare Source
Released on 2025-12-11.
Preview features
ruff] NewRUF100diagnostics for unused range suppressions (#21783)pylint] Detect subclasses of builtin exceptions (PLW0133) (#21382)Bug fixes
flake8-bandit] Fix false positive when using non-standardCSafeLoaderpath (S506). (#21830)flake8-bugbear] Accept immutable slice default arguments (B008) (#21823)Rule changes
pydocstyle] SuppressD417for parameters withUnpackannotations (#21816)Performance
memchrfor computing line indexes (#21838)Documentation
*.pywis included by default in preview (#21885)Contributors
Configuration
📅 Schedule: Branch creation - "before 4am on Monday" in timezone America/New_York, Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.