refactor: make compatibility exports ruff clean
This commit is contained in:
@@ -1,7 +1,27 @@
|
||||
from __future__ import annotations
|
||||
|
||||
from .shared import *
|
||||
from .shared import _append_memo_tag, _memo_has_tag, _normalize_counterparty_for_match, _party_match_score
|
||||
from .shared import (
|
||||
Any,
|
||||
Path,
|
||||
csv,
|
||||
db,
|
||||
fail,
|
||||
json,
|
||||
make_dedupe_key,
|
||||
new_id,
|
||||
normalize_tags,
|
||||
now_iso,
|
||||
ok,
|
||||
parse_kb_bank_pdf,
|
||||
parse_seoulpay_xlsx,
|
||||
parse_toss_bank_pdf,
|
||||
parse_toss_securities_pdf,
|
||||
row_to_dict,
|
||||
seoulpay_transaction_preview,
|
||||
toss_bank_transaction_preview,
|
||||
toss_transaction_preview,
|
||||
transaction_preview,
|
||||
)
|
||||
|
||||
def preview_ledger_csv_import(file_path: str, source: str = "generic", db_path: str | None = None) -> dict[str, Any]:
|
||||
path=Path(file_path).expanduser()
|
||||
|
||||
Reference in New Issue
Block a user