From 0394b51fd599f076aef7da0cf8d82b6cad27bee0 Mon Sep 17 00:00:00 2001 From: s28ale-maker Date: Tue, 29 Sep 2026 15:59:34 -0400 Subject: [PATCH] chore: force LF on the two mapping TSVs whose hashes tests check tests/test_benchmark_reserve.py compares the SHA-256 of mappings/soulcap_entities.tsv and mappings/curated_mappings.tsv against the values frozen in mappings/benchmark_reserve.json. On Windows with core.autocrlf=true those files check out with CRLF, the bytes change, and the test fails locally even though CI (LF) passes. Pin them to eol=lf. Co-Authored-By: Claude Opus 5.5 --- .gitattributes | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..e9c24e3 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,5 @@ +# Files whose SHA-256 is frozen in mappings/benchmark_reserve.json and checked by +# tests/test_benchmark_reserve.py. Keep them LF on every platform so a Windows +# checkout (core.autocrlf=true) doesn't change the bytes and fail the hash check. +mappings/soulcap_entities.tsv text eol=lf +mappings/curated_mappings.tsv text eol=lf