Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
rednafi committed Oct 25, 2024
1 parent 4543f21 commit a68dbdc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions svc/core/logger.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import logging


def configure_logger() -> None:
"""Configure a custom logger."""

Expand Down
4 changes: 3 additions & 1 deletion svc/routes/views.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
from __future__ import annotations

import logging

from fastapi import APIRouter, Depends

from svc.apis.api_a.mainmod import main_func as main_func_a
from svc.apis.api_b.mainmod import main_func as main_func_b
from svc.core.auth import get_current_user
import logging

router = APIRouter()
logger = logging.getLogger(__name__)


@router.get("/")
async def index() -> dict[str, str]:
return {
Expand Down
2 changes: 0 additions & 2 deletions svc/tests/test_logger.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import logging

"""Test suite for the logger module."""

import logging
Expand Down

0 comments on commit a68dbdc

Please sign in to comment.