release: v1.14.4 — 修复 cmd_chanlun.py ruff format CI 失败

This commit is contained in:
Justin Gu
2026-06-16 10:03:48 +08:00
parent aa58bd9e88
commit 87f11e409c
3 changed files with 7 additions and 7 deletions
+4
View File
@@ -1618,6 +1618,10 @@ ruff format --check src/ tests/ # format check
## Changelog
### 1.14.4 (2026-06-16)
**CI 修复** — 修复 v1.14.3 中 `cmd_chanlun.py` 两处 `click.echo(...)` 未按 `ruff format` 行宽规则合并导致的 CI 格式检查失败(纯格式调整,无功能变化)。
### 1.14.3 (2026-06-16)
**缠论 CLI table 模式补日期** — 延续 v1.14.2 的可视化增强,在 `easy-tdx chanlun --table` 表格输出中也为中枢 / 买卖点 / 背驰带上对应日期,与 `笔` / `线段` 的风格对齐。日期缺失时显示 `—`
+1 -1
View File
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
[project]
name = "easy-tdx"
version = "1.14.3"
version = "1.14.4"
description = "通达信 TCP 协议行情数据客户端,支持在线行情、离线数据读取与写入同步"
readme = "README.md"
requires-python = ">=3.10"
+2 -6
View File
@@ -139,9 +139,7 @@ def _print_table(result: dict[str, Any]) -> None:
if result.get("mmds"):
click.echo("── 买卖点 ──")
for mmd in result["mmds"]:
click.echo(
f" {mmd['type']} ({mmd['date'] or ''}): {mmd['msg']}"
)
click.echo(f" {mmd['type']} ({mmd['date'] or ''}): {mmd['msg']}")
click.echo()
if result.get("bcs"):
@@ -150,9 +148,7 @@ def _print_table(result: dict[str, Any]) -> None:
status = "" if bc["bc"] else ""
prev = bc["prev_date"] or ""
curr = bc["curr_date"] or ""
click.echo(
f" [{status}] {bc['type']} ({prev}{curr}): {bc['msg']}"
)
click.echo(f" [{status}] {bc['type']} ({prev}{curr}): {bc['msg']}")
if result.get("multi_level"):
ml = result["multi_level"]