Skip to content

Commit

Permalink
DeepSource is confused by empty protocol method bodies
Browse files Browse the repository at this point in the history
  • Loading branch information
jace committed Dec 5, 2023
1 parent 97ee5cb commit 722cda7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/coaster/views/classview.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def __call__(
) -> ViewMethod[P, R_co]:
...

def __call__(
def __call__( # skipcq: PTC-W0049
self,
__decorated: t.Union[
ClassViewType,
Expand All @@ -114,7 +114,7 @@ def __call__(
) -> ViewMethod[P, R_co]:
...

def __call__(
def __call__( # skipcq: PTC-W0049
self,
__decorated: t.Union[
MethodProtocol[te.Concatenate[t.Any, P], R_co], ViewMethod[P, R_co]
Expand Down

0 comments on commit 722cda7

Please sign in to comment.