Skip to content

Commit 9874c52

Browse files
committed
Fix linting errors
1 parent 6f0bfa4 commit 9874c52

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

backend/app/server.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,17 @@
55
from dotenv import load_dotenv
66
from fastapi import FastAPI
77

8-
load_dotenv()
9-
10-
# we need to load env variables before initialization code runs
118
from . import models
129
from .routes import send_email, user
1310
from .utilities.constants import LOGGER_NAME
1411
from .utilities.firebase_init import initialize_firebase
1512

13+
load_dotenv()
14+
15+
1616
log = logging.getLogger(LOGGER_NAME("server"))
1717

18+
1819
@asynccontextmanager
1920
async def lifespan(_: FastAPI):
2021
log.info("Starting up...")

0 commit comments

Comments
 (0)