🎨 [pre-commit.ci] Auto format from pre-commit.com hooks

This commit is contained in:
pre-commit-ci[bot] 2023-01-09 10:53:14 +00:00
parent e1843d0e08
commit d0a6d46f6e
1 changed files with 1 additions and 1 deletions

View File

@ -278,7 +278,7 @@ def get_typed_return_annotation(call: Callable[..., Any]) -> Any:
globalns = getattr(call, "__globals__", {})
typed_annotation = get_typed_annotation(annotation, globalns)
if typed_annotation is type(None): # noqa: E721
if typed_annotation is type(None): # noqa: E721
return None
return typed_annotation