From a76cb387944483cfd79f374090beb7cb1fd61743 Mon Sep 17 00:00:00 2001 From: oqyude Date: Fri, 23 Oct 2026 20:24:01 +0300 Subject: [PATCH] =?UTF-8?q?refactor:=20=D0=BF=D0=B5=D1=80=D0=B5=D0=B8?= =?UTF-8?q?=D1=81=D0=BF=D0=BE=D0=BB=D1=8C=D0=B7=D0=BE=D0=B2=D0=B0=D1=82?= =?UTF-8?q?=D1=8C=20console=20=D0=B8=D0=B7=20services=20=D0=B2=D0=BC=D0=B5?= =?UTF-8?q?=D1=81=D1=82=D0=BE=20=D0=B2=D1=82=D0=BE=D1=80=D0=BE=D0=B3=D0=BE?= =?UTF-8?q?=20=D1=8D=D0=BA=D0=B7=D0=B5=D0=BC=D0=BF=D0=BB=D1=8F=D1=80=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Модуль создавал собственный rich.console.Console, тогда как services уже держит общий. Дубликат источник расхождений вывода. --- infrastructure/cli/commands/config_cmd.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/infrastructure/cli/commands/config_cmd.py b/infrastructure/cli/commands/config_cmd.py index 1d84779..7b7297b 100644 --- a/infrastructure/cli/commands/config_cmd.py +++ b/infrastructure/cli/commands/config_cmd.py @@ -1,6 +1,5 @@ """cf config — подкоманды для редактирования модели (базовая валюта, счета, транзакции, ...).""" import typer -from rich.console import Console from rich.table import Table from domain import ( @@ -13,10 +12,9 @@ from domain import ( Transaction, ) from infrastructure.cli.i18n import t -from infrastructure.cli.services import load_model, save_model +from infrastructure.cli.services import console, load_model, save_model app = typer.Typer(name="config", help=t("config.help")) -console = Console() # ── base-currency ──────────────────────────────────────────────