From 1ab74a80c4eca791c739a524a19490a14fbbfce2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Eertmans?= Date: Wed, 23 Oct 2024 09:54:50 +0200 Subject: [PATCH] chore(ci): run LT on striped nb --- .github/workflows/languagetool.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/languagetool.yml b/.github/workflows/languagetool.yml index 5190581f..603c7ffe 100644 --- a/.github/workflows/languagetool.yml +++ b/.github/workflows/languagetool.yml @@ -12,9 +12,14 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 + - name: Strip cell output + run: | + pip install nbstripout + find . -name '*.ipynb' -exec nbstripout {} + + - name: Check and report uses: reviewdog/action-languagetool@v1 with: reporter: github-pr-review - patterns: '*.md src/**.rs python/differt/**.py docs/source/**.md docs/source/**.ipynb !docs/source/notebooks/multipath.ipynb' + patterns: '*.md src/**.rs python/differt/**.py docs/source/**.md docs/source/**.ipynb' level: warning