Skip to content

Commit 62e365f

Browse files
committed
chore: fix mypy
1 parent 085dd7b commit 62e365f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

demo_project/main.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@
2828
if settings.BACKEND_CORS_ORIGINS: # pragma: no cover
2929
app.add_middleware(
3030
CORSMiddleware,
31-
allow_origins=[str(origin) for origin in settings.BACKEND_CORS_ORIGINS],
32-
allow_credentials=True,
33-
allow_methods=['*'],
34-
allow_headers=['*'],
31+
allow_origins=[str(origin) for origin in settings.BACKEND_CORS_ORIGINS], # type: ignore
32+
allow_credentials=True, # type: ignore
33+
allow_methods=['*'], # type: ignore
34+
allow_headers=['*'], # type: ignore
3535
)
3636

3737

0 commit comments

Comments
 (0)