Skip to content

Commit 1b1c0b0

Browse files
πŸ› Fix formatting in 2e2 test files.
1 parent 23b17aa commit 1b1c0b0

File tree

22 files changed

+80
-80
lines changed

22 files changed

+80
-80
lines changed

β€Ž.pre-commit-config.yamlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ repos:
1717
- id: no-commit-to-branch
1818
- id: trailing-whitespace
1919
# keep whitespaces as generated by libCST for e2e tests
20-
exclude: ^tests/e2e/expected/
20+
exclude: ^tests/e2e/
2121
- repo: https://github.com/astral-sh/ruff-pre-commit
2222
rev: v0.13.1
2323
hooks:

β€Žtests/e2e/render/expected/dummy/src/test_dummy/client.pyβ€Ž

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323

2424
class ApiClient(lapidary.runtime.ClientBase):
25-
25+
2626
def __init__(
2727
self,
2828
*, base_url: str = '/',
@@ -41,7 +41,7 @@ def __init__(
4141
base_url=base_url,
4242
**kwargs,
4343
)
44-
44+
4545
@lapidary.runtime.get('/test/',)
4646
async def test_op(
4747
self: typing.Self,
@@ -103,7 +103,7 @@ async def test_op(
103103
},),
104104
]:
105105
pass
106-
106+
107107
@lapidary.runtime.get('/inline_schema_properties/',)
108108
async def inline_schema_properties(
109109
self: typing.Self,
@@ -121,7 +121,7 @@ async def inline_schema_properties(
121121
},),
122122
]:
123123
pass
124-
124+
125125
@lapidary.runtime.get(
126126
'/custom-security',
127127
security=({'oauth': ('read',)},),
@@ -142,7 +142,7 @@ async def customSecurity(
142142
},),
143143
]:
144144
pass
145-
145+
146146
@lapidary.runtime.get(
147147
'/insecure',
148148
security=(),

β€Žtests/e2e/render/expected/dummy/src/test_dummy/components/requestBodies/dummy/content/applicationu_ljson/schema/schema.pyβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88

99
class schema(lapidary.runtime.ModelBase):
10-
10+
1111
prop1: str
12-
12+
1313
model_config = pydantic.ConfigDict(extra='forbid',)

β€Žtests/e2e/render/expected/dummy/src/test_dummy/components/schemas/all/properties/u_0for/schema.pyβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88

99
class u_0for(lapidary.runtime.ModelBase):
10-
10+
1111
prop1: str
12-
12+
1313
model_config = pydantic.ConfigDict(extra='forbid',)

β€Žtests/e2e/render/expected/dummy/src/test_dummy/components/schemas/all/schema.pyβ€Ž

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,26 +9,26 @@
99

1010

1111
class all(lapidary.runtime.ModelBase):
12-
12+
1313
any: typing.Union[
1414
dict[
1515
str,
1616
pydantic.JsonValue,
1717
],
1818
None,
1919
] = None
20-
20+
2121
u_0for: typing.Annotated[
2222
test_dummy.components.schemas.all.properties.u_0for.schema.u_0for,
2323
pydantic.Field(alias='for',),
2424
]
25-
25+
2626
uu_1X0for: typing.Annotated[
2727
typing.Union[
2828
str,
2929
None,
3030
],
3131
pydantic.Field(alias='u_0for',),
3232
] = None
33-
33+
3434
model_config = pydantic.ConfigDict(extra='forbid',)

β€Žtests/e2e/render/expected/dummy/src/test_dummy/components/schemas/schema1/properties/prop1/properties/prop2/schema.pyβ€Ž

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,16 @@
88

99

1010
class prop2(lapidary.runtime.ModelBase):
11-
11+
1212
key: typing.Annotated[
1313
str,
1414
annotated_types.MaxLen(10,),
1515
annotated_types.MinLen(5,),
1616
]
17-
17+
1818
nonu_lalpha: typing.Annotated[
1919
str,
2020
pydantic.Field(alias='non/alpha',),
2121
]
22-
22+
2323
model_config = pydantic.ConfigDict(extra='forbid',)

β€Žtests/e2e/render/expected/dummy/src/test_dummy/components/schemas/schema1/properties/prop1/schema.pyβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99

1010
class prop1(lapidary.runtime.ModelBase):
11-
11+
1212
prop2: test_dummy.components.schemas.schema1.properties.prop1.properties.prop2.schema.prop2
13-
13+
1414
model_config = pydantic.ConfigDict(extra='forbid',)

β€Žtests/e2e/render/expected/dummy/src/test_dummy/components/schemas/schema1/schema.pyβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99

1010
class schema1(lapidary.runtime.ModelBase):
11-
11+
1212
prop1: test_dummy.components.schemas.schema1.properties.prop1.schema.prop1
13-
13+
1414
model_config = pydantic.ConfigDict(extra='forbid',)

β€Žtests/e2e/render/expected/dummy/src/test_dummy/paths/u_linline_schema_propertiesu_l/get/responses/default/content/applicationu_ljson/schema/properties/prop1/schema.pyβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88

99
class prop1(lapidary.runtime.ModelBase):
10-
10+
1111
prop2: str
12-
12+
1313
model_config = pydantic.ConfigDict(extra='forbid',)

β€Žtests/e2e/render/expected/dummy/src/test_dummy/paths/u_linline_schema_propertiesu_l/get/responses/default/content/applicationu_ljson/schema/schema.pyβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99

1010
class schema(lapidary.runtime.ModelBase):
11-
11+
1212
prop1: test_dummy.paths.u_linline_schema_propertiesu_l.get.responses.default.content.applicationu_ljson.schema.properties.prop1.schema.prop1
13-
13+
1414
model_config = pydantic.ConfigDict(extra='forbid',)

0 commit comments

Comments
Β (0)