Run pre-commit

This commit is contained in:
Santiago Lo Coco 2023-11-01 09:55:39 -03:00
parent 48f379a0e5
commit 40af67d045
2 changed files with 5 additions and 5 deletions

View File

@ -1,12 +1,11 @@
import logging
from fastapi import FastAPI from fastapi import FastAPI
from fastapi.middleware.cors import CORSMiddleware from fastapi.middleware.cors import CORSMiddleware
from src.api.routes import (auth, flights, health, notifications, from src.api.routes import (auth, flights, health, notifications,
subscriptions, users) subscriptions, users)
import logging
logging.config.fileConfig('logging.conf', disable_existing_loggers=False) logging.config.fileConfig('logging.conf', disable_existing_loggers=False)
app = FastAPI(title="Flights Information API") app = FastAPI(title="Flights Information API")

View File

@ -1,7 +1,8 @@
from fastapi import APIRouter
# from src.api.main import my_logger # from src.api.main import my_logger
import logging import logging
from fastapi import APIRouter
# from sys import stdout # from sys import stdout
my_logger = logging.getLogger(__name__) my_logger = logging.getLogger(__name__)