Skip to content

Commit f488827

Browse files
Евгений БлиновЕвгений Блинов
authored andcommitted
Skip mypy's issue
1 parent 5192fcf commit f488827

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

getsources/hash.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def get_body_text(function: Callable[..., Any], source: str, skip_docstring: boo
2626
if skip_docstring and body_nodes and (isinstance(first, Expr) and isinstance(first.value, Constant) and isinstance(first.value.value, str)):
2727
body_nodes = body_nodes[1:]
2828

29-
return '\n'.join([get_source_segment(source, statement) for statement in body_nodes])
29+
return '\n'.join([get_source_segment(source, statement) for statement in body_nodes]) # type: ignore[misc]
3030

3131

3232
def getsourcehash(function: Callable[..., Any], size: int = 6, only_body: bool = False, skip_docstring: bool = False) -> str:

0 commit comments

Comments
 (0)