From f9d82262a780aab2e62bd620b14f2bd78d297a6d Mon Sep 17 00:00:00 2001 From: Simeon Warner Date: Thu, 21 Nov 2024 11:16:12 -0500 Subject: [PATCH] Make line length test exclude markdown tables --- .github/workflows/test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e416503..9d91ceb 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -16,7 +16,7 @@ jobs: pip install marko jsonschema - name: Checks line length run: | - test `cut -c121- draft/spec/index.md | grep -vx "^$" | wc -l` -eq 0 - test `cut -c121- draft/implementation-notes/index.md | grep -vx "^$" | wc -l` -eq 0 + test `grep -v "^|" draft/spec/index.md | cut -c121- | grep -vx "^$" | wc -l` -eq 0 + test `grep -v "^|" draft/implementation-notes/index.md | cut -c121- | grep -vx "^$" | wc -l` -eq 0 - name: Checks Examples run: python scripts/check_examples.py