Skip to content

Commit ef87811

Browse files
committed
lint
1 parent 08a57df commit ef87811

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

tests/main.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,10 @@ def custom_validator(value: int) -> int:
5151
CustomValidatedInt = Annotated[
5252
int,
5353
pydantic.AfterValidator(custom_validator),
54-
pydantic.WithJsonSchema(
55-
{
56-
"type": "int",
57-
"example": "42",
58-
}
59-
),
54+
pydantic.WithJsonSchema({
55+
"type": "int",
56+
"example": "42",
57+
}),
6058
]
6159

6260
# TODO: Remove this condition once support for <= 3.8 is dropped

0 commit comments

Comments
 (0)