utils/file_length
Krzysztof kuhy Rudnicki 879265b966
Some checks are pending
dependency freshness / dependencies on newest stable (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
shared gate tests / gate unit tests (push) Waiting to run
file_length: repo-local .file-length-exempt list, fail-closed, package tested to 100%
A fork of a third-party project can carry data that is code only by
extension (TachiyomiSY's 6000-line exh/eh/tags/*.kt string tables). The
reason belongs in that repo next to the data, so the gate now reads a
.file-length-exempt of '<glob>  # <reason>' lines from its cwd. A glob
without a reason is a suppression and exits 2 instead of passing.

The package had no tests at all; it now has a suite at 100% line+branch,
wired into shared-gates-tests.yml with --cov-fail-under=100.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Yc4TiPjhbQLfH35QBPfrbP
2026-09-12 18:53:19 +02:00
..
tests file_length: repo-local .file-length-exempt list, fail-closed, package tested to 100% 2026-09-12 18:53:19 +02:00
__init__.py Add shared 250-line file-length gate 2026-08-14 14:24:57 +02:00
_tables.py file_length: TRAK/sightpy is vendored, not coursework 2026-08-28 19:33:14 +02:00
check.py file_length: repo-local .file-length-exempt list, fail-closed, package tested to 100% 2026-09-12 18:53:19 +02:00
config.py Split the two shell scripts and the gate's own config 2026-08-22 14:59:27 +02:00
exemptions.py Split the two shell scripts and the gate's own config 2026-08-22 14:59:27 +02:00
repo_exempt.py file_length: repo-local .file-length-exempt list, fail-closed, package tested to 100% 2026-09-12 18:53:19 +02:00