Skip to content

fix(deps): update dependency basedpyright to v1.39.0#139

Merged
jfcherng merged 2 commits intomasterfrom
renovate/basedpyright-1.x
Apr 1, 2026
Merged

fix(deps): update dependency basedpyright to v1.39.0#139
jfcherng merged 2 commits intomasterfrom
renovate/basedpyright-1.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Apr 1, 2026

This PR contains the following updates:

Package Change Age Confidence
basedpyright (source) 1.38.41.39.0 age confidence

Release Notes

detachhead/basedpyright (basedpyright)

v1.39.0: (pyright 1.1.408)

Compare Source

What's Changed

new diagnostic rule - reportEmptyAbstractUsage

pyright only reports an error when you instantiate an abstract class that has unimplemented abstract methods. but a class that explicitly extends ABC (or uses ABCMeta) with no abstract methods can also be instantiated, and pyright has no issue with that:

from abc import ABC

class Foo(ABC):
    """abstract class with no abstract methods"""

foo = Foo()  # no error

but the author of the class likely intended this class not to be used directly, and instead subtyped. so if a class extends ABC but defines no abstract methods, instantiating it is likely unintentional.

the reportEmptyAbstractUsage rule flags such instantiations. see the docs for more info.

implemented by @​KotlinIsland in DetachHead#1748 (some fixes by @​detachhead in DetachHead#1766)

Full Changelog: DetachHead/basedpyright@v1.38.4...v1.39.0


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 1, 2026

Following are the schema changes in the new version. Make sure that those are reflected in LSP-basedpyright.sublime-settings and sublime-package.json files.

uv run ./scripts/update_schema.py
sublime-package.json schema updated.

@jfcherng jfcherng merged commit ed90ceb into master Apr 1, 2026
@jfcherng jfcherng deleted the renovate/basedpyright-1.x branch April 1, 2026 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant