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,6 +1,17 @@
from __future__ import annotations
from .shared import *
from .shared import (
Any,
VALID_ACCOUNT_TYPES,
db,
fail,
new_id,
normalize_liquidity_bucket,
normalize_statement_status,
now_iso,
ok,
row_to_dict,
)
def create_ledger_account(name: str, type: str = "bank", institution: str = "", currency: str = "KRW", active: bool = True, memo: str = "", account_number_masked: str = "", holder_name: str = "", last_balance: int | None = None, last_synced_at: str = "", statement_status: str = "unknown", liquidity_bucket: str = "other", db_path: str | None = None) -> dict[str, Any]: