Skip to content

deps: Update dependency basedpyright to >=1.39.0#685

Merged
lucascolley merged 1 commit intomainfrom
renovate/basedpyright-1.x
Apr 16, 2026
Merged

deps: Update dependency basedpyright to >=1.39.0#685
lucascolley merged 1 commit intomainfrom
renovate/basedpyright-1.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate bot commented Apr 16, 2026

This PR contains the following updates:

Package Type Update Change
basedpyright feature-lint minor >=1.38.4>=1.39.0

Release Notes

DetachHead/basedpyright (basedpyright)

v1.39.0: (pyright 1.1.408)

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 #​1748 (some fixes by @​detachhead in #​1766)

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


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 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.


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

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

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Apr 16, 2026
@lucascolley lucascolley merged commit 8118e14 into main Apr 16, 2026
13 checks passed
@renovate renovate bot deleted the renovate/basedpyright-1.x branch April 16, 2026 09:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant