Skip to content

Commit

Permalink
make mypy ignore fact that there is an empty body in tests function
Browse files Browse the repository at this point in the history
  • Loading branch information
bmritz committed Apr 19, 2023
1 parent 0b13765 commit 72e4152
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_ghostfunctions.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ def f2(a: int): # type: ignore[no-untyped-def]
pass


def toy_function(x: str) -> str:
def toy_function(x: str) -> str: # type: ignore[empty-body]
"""This is.
multiline
Expand Down

0 comments on commit 72e4152

Please sign in to comment.