style(task-11): format checks.py (ruff)
Refs #14 Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com> Claude-Session: cedd7915-2efe-41e5-988c-a9117033598b
This commit is contained in:
parent
d73836e30a
commit
b9e6e319cf
@ -38,9 +38,7 @@ def _rhs(amounts: dict[str, Decimal], rule: RelationRule, *, absolute: bool) ->
|
||||
return total
|
||||
|
||||
|
||||
def _holds(
|
||||
amounts: dict[str, Decimal], rule: RelationRule, tolerance: Decimal
|
||||
) -> tuple[bool, Decimal, Decimal]:
|
||||
def _holds(amounts: dict[str, Decimal], rule: RelationRule, tolerance: Decimal) -> tuple[bool, Decimal, Decimal]:
|
||||
"""Проверка соотношения в пределах допуска.
|
||||
|
||||
Вычисляет правую часть два раза: как записано и с abs() для членов в abs_terms.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user