chores: fix linting
This commit is contained in:
@@ -63,7 +63,6 @@ def _configure_logging(dev: bool) -> None:
|
|||||||
all microservice daemons — which redirect stderr to /dev/null — still
|
all microservice daemons — which redirect stderr to /dev/null — still
|
||||||
produce readable logs. File handler is skipped under pytest.
|
produce readable logs. File handler is skipped under pytest.
|
||||||
"""
|
"""
|
||||||
import logging.handlers as _lh
|
|
||||||
from decnet.logging.inode_aware_handler import InodeAwareRotatingFileHandler
|
from decnet.logging.inode_aware_handler import InodeAwareRotatingFileHandler
|
||||||
|
|
||||||
root = logging.getLogger()
|
root = logging.getLogger()
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ import time
|
|||||||
from typing import Any, Optional
|
from typing import Any, Optional
|
||||||
|
|
||||||
import jwt
|
import jwt
|
||||||
from fastapi import Depends, HTTPException, status, Request
|
from fastapi import HTTPException, status, Request
|
||||||
from fastapi.security import OAuth2PasswordBearer
|
from fastapi.security import OAuth2PasswordBearer
|
||||||
|
|
||||||
from decnet.web.auth import ALGORITHM, SECRET_KEY
|
from decnet.web.auth import ALGORITHM, SECRET_KEY
|
||||||
|
|||||||
Reference in New Issue
Block a user