Skip to content

Remove NullLocker and satisfy mypy 0.990 #7006

@moonsikpark

Description

@moonsikpark

Mypy introduced python/mypy#12118, and it wails empty-body on functions with empty body like this.

class NullLocker(Locker):
def set_lock_data(self, root: Package, packages: list[Package]) -> bool:
pass

It seems there are no references to NullLocker, so I am wondering whether we can remove NullLocker and bump the mypy version to 0.990. If that's OK, I'm ready to submit a PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/refactorPulls that refactor, or clean-up code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions