From 72e4152572e46e9de4fcc26091f053adbb39fa0d Mon Sep 17 00:00:00 2001 From: Brian Ritz Date: Wed, 19 Apr 2023 16:40:37 -0400 Subject: [PATCH] make mypy ignore fact that there is an empty body in tests function --- tests/test_ghostfunctions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_ghostfunctions.py b/tests/test_ghostfunctions.py index 46fbb75..95143fa 100644 --- a/tests/test_ghostfunctions.py +++ b/tests/test_ghostfunctions.py @@ -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