Skip to content

Commit fdec8cd

Browse files
committed
ran: ruff check . --fix
1 parent e016fcc commit fdec8cd

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

app/main.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,9 @@
1010
from slowapi.middleware import SlowAPIMiddleware
1111

1212
from app.core.config import settings
13-
from .routers import users, admin, audio, collections, announcements, kworb
13+
from .routers import users, admin, audio, collections, announcements, kworb, maintenance
1414
from .core.storage import create_minio_bucket_if_not_exists
1515
from .core.scheduler import init_scheduler, start_scheduler, shutdown_scheduler
16-
from .routers import users, admin, audio, collections, announcements, kworb, maintenance
1716
from .middleware.maintenance import maintenance_mode_middleware
1817

1918
limiter = Limiter(key_func=get_remote_address)

app/routers/maintenance.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from fastapi import APIRouter, Depends, HTTPException, Security
1+
from fastapi import APIRouter, Security
22
from pydantic import BaseModel, Field
33
from typing import Optional
44
from app.core.security import get_current_active_superuser

0 commit comments

Comments
 (0)