refactor: make compatibility exports ruff clean

This commit is contained in:
Jarca
2026-07-07 23:27:19 +09:00
parent 2ccfc9c064
commit 7c420e498f
38 changed files with 641 additions and 234 deletions
@@ -1,7 +1,24 @@
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,
CROSS_TRANSFER_MATCH_TAG,
CROSS_TRANSFER_REVIEW_TAG,
_append_memo_tag,
_memo_has_tag,
_normalize_counterparty_for_match,
_party_match_score,
current_kst_date,
date,
datetime,
db,
fail,
normalize_date,
now_iso,
ok,
re,
row_to_dict,
)
def _build_cross_transfer_index(transactions: list[dict[str, Any]]) -> dict[tuple[str, int, str], list[dict[str, Any]]]:
index: dict[tuple[str, int, str], list[dict[str, Any]]] = {}