Skip to content

Commit 34b3abb

Browse files
committed
fix: resolve flake8 E402 and F401 in pdf_table_extractor and processor
1 parent 04cd830 commit 34b3abb

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

packages/parser-core/src/bankstatements_core/pdf_table_extractor.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
import logging
1515
import warnings
1616

17+
import pdfplumber # noqa: F401 - used by extraction module
18+
1719
warnings.warn(
1820
"bankstatements_core.pdf_table_extractor is a backward-compatibility shim "
1921
"and will be removed in a future version. "
@@ -24,8 +26,6 @@
2426
stacklevel=2,
2527
)
2628

27-
import pdfplumber # noqa: F401 - used by extraction module
28-
2929
logger = logging.getLogger(__name__)
3030

3131
# Re-export column configuration (backward compatibility)

packages/parser-core/src/bankstatements_core/processor.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
import logging
55
from collections import defaultdict # noqa: F401 - imported for test mocking
66
from datetime import datetime
7-
from pathlib import Path
87
from typing import Any
98

109
import pandas as pd

0 commit comments

Comments
 (0)