Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Aug 26, 2024
1 parent 86a4cd2 commit 9115c2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion strawberry/utils/typing.py
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ def _get_namespace_from_ast(
# can properly resolve it later
type_name = args[0].strip(" '\"\n")
for arg in args[1:]:
evaled_arg = eval(arg, globalns, localns) # noqa: PGH001, S307
evaled_arg = eval(arg, globalns, localns) # noqa: S307
if isinstance(evaled_arg, StrawberryLazyReference):
extra[type_name] = evaled_arg.resolve_forward_ref(ForwardRef(type_name))

Expand Down

0 comments on commit 9115c2d

Please sign in to comment.