Skip to content

Commit b2b65e2

Browse files
lint issue fixed
1 parent 8ffb543 commit b2b65e2

3 files changed

Lines changed: 4 additions & 6 deletions

File tree

src/ContentProcessorAPI/app/routers/claimprocessor.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@
2020

2121
from app.libs.base.typed_fastapi import TypedFastAPI
2222
from app.libs.logging.event_utils import track_event_if_configured
23-
24-
logger = logging.getLogger(__name__)
2523
from app.routers.logics.claimbatchpocessor import (
2624
ClaimBatchProcessor,
2725
ClaimBatchProcessRepository,
@@ -43,6 +41,8 @@
4341
ClaimItem,
4442
)
4543

44+
logger = logging.getLogger(__name__)
45+
4646
router = APIRouter(
4747
prefix="/claimprocessor",
4848
tags=["claimprocessor"],

src/ContentProcessorAPI/app/routers/contentprocessor.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@
2121

2222
from app.libs.base.typed_fastapi import TypedFastAPI
2323
from app.libs.logging.event_utils import track_event_if_configured
24-
25-
logger = logging.getLogger(__name__)
2624
from app.routers.logics.claimbatchpocessor import ClaimBatchProcessRepository
2725
from app.utils.mime_types import MimeTypesDetection
2826
from app.utils.upload_validation import (
@@ -51,6 +49,8 @@
5149
Steps,
5250
)
5351

52+
logger = logging.getLogger(__name__)
53+
5454
router = APIRouter(
5555
prefix="/contentprocessor",
5656
tags=["contentprocessor"],

src/ContentProcessorAPI/tests/libs/logging/test_event_utils.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77
import sys
88
from unittest.mock import patch
99

10-
import pytest
11-
1210
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), "..", "..", "..")))
1311

1412
from app.libs.logging.event_utils import track_event_if_configured # noqa: E402

0 commit comments

Comments
 (0)