refactor: make compatibility exports ruff clean
This commit is contained in:
@@ -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]]] = {}
|
||||
|
||||
Reference in New Issue
Block a user