Skip to content

Commit c726fc7

Browse files
committed
style: Format
1 parent b41bf46 commit c726fc7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/griffe_pydantic/static.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,10 @@ def pydantic_validator(func: Function) -> ExprCall | None:
5858
A decorator value (Griffe expression).
5959
"""
6060
for decorator in func.decorators:
61-
if isinstance(decorator.value, ExprCall) and decorator.callable_path in {"pydantic.field_validator", "pydantic.model_validator"}:
61+
if isinstance(decorator.value, ExprCall) and decorator.callable_path in {
62+
"pydantic.field_validator",
63+
"pydantic.model_validator",
64+
}:
6265
return decorator.value
6366
return None
6467

0 commit comments

Comments
 (0)