Skip to content

Commit 270aee7

Browse files
committed
Fix linting error
1 parent 6ad585d commit 270aee7

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

cadwyn/_render.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,13 @@ def _generate_field_ast(field: PydanticFieldWrapper) -> ast.Call:
146146
func=ast.Name("Field"),
147147
args=[],
148148
keywords=[
149-
ast.keyword(arg=attr, value=ast.parse(get_fancy_repr(attr_value), mode="eval").body) # pyright: ignore
149+
ast.keyword(
150+
arg=attr,
151+
value=ast.parse(
152+
get_fancy_repr(attr_value),
153+
mode="eval",
154+
).body, # pyright: ignore # noqa: PGH003
155+
)
150156
for attr, attr_value in field.passed_field_attributes.items()
151157
],
152158
)

0 commit comments

Comments
 (0)