Skip to content

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 11, 2025

This PR contains the following updates:

Package Type Update Change
basedpyright dependencies minor >=1.28.5 -> >=1.29.1

Release Notes

DetachHead/basedpyright (basedpyright)

v1.29.1: (pyright 1.1.400)

What's Changed

Full Changelog: DetachHead/basedpyright@v1.29.0...v1.29.1

v1.29.0: (pyright 1.1.399)

What's Changed

new diagnostic rules

reportIncompatibleUnannotatedOverride

pyright's reportIncompatibleVariableOverride rule does not report an error if the attribute in the base class does not have a type annotation:

class A:
    value = 1  # inferred as `int`

class B(A):
    value = None  # no error, even though the type on the base class is `int` and the type here is `None`

the new reportIncompatibleUnannotatedOverride rule will report an error in such cases. note that this rule is intended to replace reportUnannotatedClassAttribute in the future, but it is currently disabled by default. see the docs for more information

implemented in https://github.com/DetachHead/basedpyright/pull/1207

reportInvalidAbstractMethod

pyright ignores methods decorated with @abstractmethod if the class is not abstract:

from abc import abstractmethod

class Foo:
    @​abstractmethod
    def foo(): ...

Foo()  # no error

the new reportInvalidAbstractMethod rule will report an error on the method definition. see the docs for more info

implemented in in https://github.com/DetachHead/basedpyright/pull/1238

other changes

New Contributors

Full Changelog: DetachHead/basedpyright@v1.28.5...v1.29.0


Configuration

📅 Schedule: 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 May 11, 2025
@renovate renovate bot force-pushed the renovate/basedpyright-1.x branch from 0964a89 to 68469ce Compare May 11, 2025 22:30
@renovate renovate bot force-pushed the renovate/basedpyright-1.x branch from 68469ce to d52afb3 Compare May 11, 2025 22:39
@renovate renovate bot merged commit c9204ea into main May 12, 2025
11 checks passed
@renovate renovate bot deleted the renovate/basedpyright-1.x branch May 12, 2025 00:21
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.

0 participants