Skip to content

Commit b6fe35e

Browse files
committed
Remove unnecessary type ignore comment and update packages
1 parent 270aee7 commit b6fe35e

File tree

2 files changed

+33
-92
lines changed

2 files changed

+33
-92
lines changed

cadwyn/_render.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -148,10 +148,7 @@ def _generate_field_ast(field: PydanticFieldWrapper) -> ast.Call:
148148
keywords=[
149149
ast.keyword(
150150
arg=attr,
151-
value=ast.parse(
152-
get_fancy_repr(attr_value),
153-
mode="eval",
154-
).body, # pyright: ignore # noqa: PGH003
151+
value=ast.parse(get_fancy_repr(attr_value), mode="eval").body,
155152
)
156153
for attr, attr_value in field.passed_field_attributes.items()
157154
],

0 commit comments

Comments
 (0)