Skip to content

Commit

Permalink
chore: lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
bdraco committed Feb 8, 2024
1 parent 625887d commit 56864d3
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions yalexs/backports/functools.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,14 @@ def __set_name__(self, owner: type[Any], name: str) -> None:
)

@overload
def __get__(self, instance: None, owner: type[Any] | None = None) -> Any: ... # noqa: E704
def __get__( # noqa: E704
self, instance: None, owner: type[Any] | None = None
) -> Any: ...

@overload
def __get__(self, instance: Any, owner: type[Any] | None = None) -> _T: ... # noqa: E704
def __get__( # noqa: E704
self, instance: Any, owner: type[Any] | None = None
) -> _T: ...

def __get__(self, instance: Any | None, owner: type[Any] | None = None) -> _T | Any:
"""Get."""
Expand Down

0 comments on commit 56864d3

Please # to comment.