From ee17c4a522b7e86b728abd9a36cea98a1c7d5db6 Mon Sep 17 00:00:00 2001 From: Kay Robbins Date: Fri, 6 Nov 2026 12:35:38 -0600 Subject: [PATCH 1/2] Update the spec_tests submodules to their current main tips hed-examples 95a85c5 -> 799e3c8, hed-schemas 08d25c2 -> b64c0f9, hed-tests a24580c -> 1fa5c1a. Co-Authored-By: Claude Fable 5.1 --- spec_tests/hed-examples | 2 +- spec_tests/hed-schemas | 2 +- spec_tests/hed-tests | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/spec_tests/hed-examples b/spec_tests/hed-examples index 95a85c51..799e3c8b 160000 --- a/spec_tests/hed-examples +++ b/spec_tests/hed-examples @@ -1 +1 @@ -Subproject commit 95a85c519a5f44056cf9808e6c9cfb5c92556d28 +Subproject commit 799e3c8b3059738eabf7eebca83738246ca354de diff --git a/spec_tests/hed-schemas b/spec_tests/hed-schemas index 08d25c23..b64c0f97 160000 --- a/spec_tests/hed-schemas +++ b/spec_tests/hed-schemas @@ -1 +1 @@ -Subproject commit 08d25c23a8c1e8ebaad65574027994d0a576ae2b +Subproject commit b64c0f970f71a02a79517e88c4c6c82f9af3485c diff --git a/spec_tests/hed-tests b/spec_tests/hed-tests index a24580cf..1fa5c1a9 160000 --- a/spec_tests/hed-tests +++ b/spec_tests/hed-tests @@ -1 +1 @@ -Subproject commit a24580cf6545382e64d39d216659932e46a579ae +Subproject commit 1fa5c1a9dd172e7352bfc0c02ee898339b0ce84f From 0a07495c3d9ad104aa5df51273534bdadc18a530 Mon Sep 17 00:00:00 2001 From: Kay Robbins Date: Fri, 6 Nov 2026 12:35:39 -0600 Subject: [PATCH 2/2] Keep trailing tabs in TSV files: trim_trailing_whitespace off for *.tsv A TSV row whose last cell is empty ends in a tab; the [*] trim rule would drop it on save and change the column count. Five tracked test schema TSV files have such rows. Co-Authored-By: Claude Fable 5.1 --- .editorconfig | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.editorconfig b/.editorconfig index 3b2ca40c..494909e9 100644 --- a/.editorconfig +++ b/.editorconfig @@ -7,7 +7,9 @@ # two-space form to the backslash form anyway). # # This is the floor. Add sections for particular file types (indent rules, -# for example), but do not override the [*] keys. +# for example), but do not override the [*] keys. The one exception is +# data formats where trailing whitespace is data: a TSV row whose last +# cell is empty ends in a tab, and trimming it drops the column. root = true [*] @@ -15,3 +17,6 @@ end_of_line = lf insert_final_newline = true trim_trailing_whitespace = true charset = utf-8 + +[*.tsv] +trim_trailing_whitespace = false