earned_time tests: ruff import order + format (CI pre-commit red since 0.9.0)
Some checks are pending
dependency freshness / dependencies on newest stable (push) Waiting to run
earned_time pre-commit / pre-commit (push) Waiting to run
earned_time tests / test (push) Waiting to run
file length / file-length (push) Waiting to run
md-naming / markdown naming convention (push) Waiting to run
palette drift / palette (push) Waiting to run
repo-contract / repo contract (push) Waiting to run
shared gate tests / gate unit tests (push) Waiting to run

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Krzysztof Rudnicki 2026-10-17 16:48:05 +02:00
parent ef244889fd
commit 67f14588f7
3 changed files with 3 additions and 5 deletions

View File

@ -14,9 +14,9 @@ from datetime import date, timedelta
import pytest
from earned_time import (
TUTOR,
EARNERS,
LADDER_FROM,
TUTOR,
TUTOR_FROM,
WORKOUT,
Earner,

View File

@ -9,10 +9,10 @@ import pytest
from earned_time import (
AUTOMATION,
TUTOR,
EARNERS,
LADDER,
LADDER_FROM,
TUTOR,
TUTOR_EARNERS,
TUTOR_FROM,
TUTOR_LADDER,

View File

@ -54,9 +54,7 @@ def test_minute_rows_sum(tmp_path: Path, key_file: Path) -> None:
rows: list[object] = [minute("s", n, _at(18, n)) for n in (1, 2, 3)]
rows.append(minute("s", 4, _at(18, 13), minutes=10))
assert _units(tmp_path, key_file, rows) == 13
assert first_credit_at(
TUTOR, _ledger(tmp_path, rows), key_file, DAY
) == _at(18, 1)
assert first_credit_at(TUTOR, _ledger(tmp_path, rows), key_file, DAY) == _at(18, 1)
def test_legacy_rows_count_15() -> None: