Run pre-commit
This commit is contained in:
parent
48f379a0e5
commit
40af67d045
|
@ -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")
|
||||||
|
|
|
@ -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__)
|
||||||
|
|
Loading…
Reference in New Issue