fixing (ignoring) linting warnings

This commit is contained in:
Mose Müller
2023-08-02 12:06:20 +02:00
parent e3211b6000
commit d9a4dd2aeb
2 changed files with 5 additions and 5 deletions

View File

@ -43,7 +43,7 @@ class WebAPI:
self.setup_socketio()
self.setup_fastapi_app()
def setup_socketio(self) -> None:
def setup_socketio(self) -> None: # noqa: C901
# the socketio ASGI app, to notify clients when params update
if self.enable_CORS:
sio = socketio.AsyncServer(async_mode="asgi", cors_allowed_origins="*")