style: ruff format 对本轮修改文件统一格式

This commit is contained in:
Jayway Liu
2026-09-26 01:42:37 +08:00
parent 649fec4121
commit 4a89c92313
7 changed files with 56 additions and 37 deletions
+1 -3
View File
@@ -98,9 +98,7 @@ def test_formula_workbook_exposes_custom_metric_as_recalculable_column(formula_d
assert custom["B1"].value == "收入成本差(本期)"
assert custom["B2"].value == f"='分析汇总'!C{metric_row}"
custom_note = next(
str(row[1])
for row in workbook["使用说明"].iter_rows(values_only=True)
if row[0] == "收入成本差"
str(row[1]) for row in workbook["使用说明"].iter_rows(values_only=True) if row[0] == "收入成本差"
)
assert "含义:实际收入减成本" in custom_note
assert "范围:按所选分组及本期、基期计算" in custom_note