Skip to content

Commit

Permalink
馃帹 [pre-commit.ci] Auto format from pre-commit.com hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Jan 9, 2023
1 parent e1843d0 commit d0a6d46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fastapi/dependencies/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d0a6d46

Please sign in to comment.