From 6f4f739ed741bb0da99f11c8b7e0684c707feae0 Mon Sep 17 00:00:00 2001 From: Krzysztof kuhy Rudnicki Date: Fri, 9 Oct 2026 21:23:03 +0200 Subject: [PATCH] earned_time 0.6.0: exempt private test helpers from name-tests-test CI's earned_time pre-commit flagged tests/_maturity_rows.py: the local --all-files run predated git tracking of the new files. Same exclude as steam-backlog-enforcer's tests/_*.py helpers. No package code changes. Co-Authored-By: Claude Opus 5.5 (1M context) Claude-Session: https://claude.ai/code/session_01WdfmsGMht9ypyvxGPmNF1V --- earned_time/.pre-commit-config.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/earned_time/.pre-commit-config.yaml b/earned_time/.pre-commit-config.yaml index 247d64e..7937ed4 100644 --- a/earned_time/.pre-commit-config.yaml +++ b/earned_time/.pre-commit-config.yaml @@ -33,6 +33,8 @@ repos: - id: debug-statements - id: name-tests-test args: [--pytest-test-first] + # Shared test helpers (rows, fixtures) are _private modules, not tests. + exclude: ^earned_time/earned_time/tests/_[a-z_]+\.py$ - id: check-ast - id: mixed-line-ending args: [--fix=lf]