Skip to content

Commit 07dfda0

Browse files
committed
🎨 style: lint
1 parent 87f5320 commit 07dfda0

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

app/main.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,16 +37,16 @@
3737
(SessionMiddleware, {}),
3838
(
3939
CORSMiddleware,
40-
dict(
41-
allow_origins=configs.ALLOW_ORIGINS,
42-
allow_methods=("GET", "POST", "PUT", "DELETE", "OPTIONS"),
43-
allow_headers=("Authorization", "Content-Type"),
44-
allow_credentials=True,
45-
),
40+
{
41+
"allow_origins": configs.ALLOW_ORIGINS,
42+
"allow_methods": ("GET", "POST", "PUT", "DELETE", "OPTIONS"),
43+
"allow_headers": ("Authorization", "Content-Type"),
44+
"allow_credentials": True,
45+
},
4646
),
4747
(LoggingMiddleware, {}),
4848
]:
49-
app.add_middleware(middleware, **kwargs)
49+
app.add_middleware(middleware, **kwargs) # type: ignore[arg-type]
5050

5151

5252
@app.get("/docs", include_in_schema=False)

0 commit comments

Comments
 (0)