deps: Update dependency basedpyright to >=1.39.0#685
Merged
lucascolley merged 1 commit intomainfrom Apr 16, 2026
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.38.4→>=1.39.0Release Notes
DetachHead/basedpyright (basedpyright)
v1.39.0: (pyright 1.1.408)What's Changed
new diagnostic rule -
reportEmptyAbstractUsagepyright only reports an error when you instantiate an abstract class that has unimplemented abstract methods. but a class that explicitly extends
ABC(or usesABCMeta) with no abstract methods can also be instantiated, and pyright has no issue with that:but the author of the class likely intended this class not to be used directly, and instead subtyped. so if a class extends
ABCbut defines no abstract methods, instantiating it is likely unintentional.the
reportEmptyAbstractUsagerule flags such instantiations. see the docs for more info.implemented by @KotlinIsland in #1748 (some fixes by @detachhead in #1766)
Full Changelog: DetachHead/basedpyright@v1.38.4...v1.39.0
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.