From 682cffb533025487f9cfd7ea61edc7af66fe56bf Mon Sep 17 00:00:00 2001 From: Jimmy Debe <91767824+jimstir@users.noreply.github.com> Date: Mon, 1 Jul 2024 12:37:43 -0400 Subject: [PATCH 1/7] Update spellcheck.yaml --- spellcheck.yaml | 39 ++++++++++++++++++++++++++++++++++++--- 1 file changed, 36 insertions(+), 3 deletions(-) diff --git a/spellcheck.yaml b/spellcheck.yaml index 9d20cff..6675bee 100644 --- a/spellcheck.yaml +++ b/spellcheck.yaml @@ -1,4 +1,37 @@ matrix: -- name: markdown - sources: - - '**/*.md' + default: + dictionary: + - en_US + - en_GB + encoding: utf-8 + pipeline: + - pyspelling.filters.markdown: + extensions: + - .md + sources: + - '**/*.md' + suggest: true + whitelist: + - ALLOC + - IANA + - SHARDING + - WAKU + - Waku + - danielkaiser + - creativecommons + - github + - GITHUB + - https + - iana + - md + - rfc + - RFC + - www + - DHT + - DoS + - GossipSub + - gossipsub + - Waku's + - libp2p + - pubsub + - subnets From ebd7284968f6943a2c81bddaa6c7538a375e958f Mon Sep 17 00:00:00 2001 From: Jimmy Debe <91767824+jimstir@users.noreply.github.com> Date: Mon, 1 Jul 2024 12:39:18 -0400 Subject: [PATCH 2/7] Update spelling.yml --- .github/workflows/spelling.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/spelling.yml b/.github/workflows/spelling.yml index 06a93ca..9c922d1 100644 --- a/.github/workflows/spelling.yml +++ b/.github/workflows/spelling.yml @@ -19,4 +19,4 @@ jobs: name: Spellcheck env: MATRIX: ${{ toJson(matrix) }} - run: pyspelling --matrix "$MATRIX" + run: pyspelling -c ./spellcheck.yaml --matrix "$MATRIX" From 59f70d0c75a94ba112d2047dfd7a41c44d296d44 Mon Sep 17 00:00:00 2001 From: Jimmy Debe <91767824+jimstir@users.noreply.github.com> Date: Mon, 1 Jul 2024 12:44:50 -0400 Subject: [PATCH 3/7] Update spellcheck.yaml --- spellcheck.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/spellcheck.yaml b/spellcheck.yaml index 6675bee..f5f56e8 100644 --- a/spellcheck.yaml +++ b/spellcheck.yaml @@ -1,4 +1,7 @@ matrix: +- name: markdown + sources: + - '**/*.md' default: dictionary: - en_US @@ -31,7 +34,6 @@ matrix: - DoS - GossipSub - gossipsub - - Waku's - libp2p - pubsub - subnets From f9e4ce09164672a9b3a7666f607040ce6ab398da Mon Sep 17 00:00:00 2001 From: Jimmy Debe <91767824+jimstir@users.noreply.github.com> Date: Mon, 1 Jul 2024 13:34:08 -0400 Subject: [PATCH 4/7] Update spelling.yml --- .github/workflows/spelling.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/spelling.yml b/.github/workflows/spelling.yml index 9c922d1..91634c0 100644 --- a/.github/workflows/spelling.yml +++ b/.github/workflows/spelling.yml @@ -19,4 +19,6 @@ jobs: name: Spellcheck env: MATRIX: ${{ toJson(matrix) }} - run: pyspelling -c ./spellcheck.yaml --matrix "$MATRIX" + run: pyspelling --matrix "$MATRIX" + with: + args: -c ./spellcheck.yaml From 234c634f0c22570f5289504ce957068f355e0423 Mon Sep 17 00:00:00 2001 From: Jimmy Debe <91767824+jimstir@users.noreply.github.com> Date: Mon, 1 Jul 2024 13:38:58 -0400 Subject: [PATCH 5/7] Update spelling.yml --- .github/workflows/spelling.yml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/spelling.yml b/.github/workflows/spelling.yml index 91634c0..e1ece9e 100644 --- a/.github/workflows/spelling.yml +++ b/.github/workflows/spelling.yml @@ -1,4 +1,3 @@ -# This is workflow for spell checking using PySpelling lib (https://pypi.org/project/pyspelling/) name: Spellcheck on: @@ -11,14 +10,16 @@ on: workflow_dispatch: jobs: - build: + spellcheck: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - uses: igsekor/pyspelling-any@v1.0.4 - name: Spellcheck - env: - MATRIX: ${{ toJson(matrix) }} - run: pyspelling --matrix "$MATRIX" + + - name: Install aspell + run: sudo apt-get install -y aspell aspell-en + + - name: Run spellcheck + uses: igsekor/pyspelling-any@v1.0.4 with: - args: -c ./spellcheck.yaml + args: "-c ./spellcheck.yaml" + From b7a3137e38ab905fac994146c96dffa754b4b54e Mon Sep 17 00:00:00 2001 From: Jimmy Debe <91767824+jimstir@users.noreply.github.com> Date: Mon, 1 Jul 2024 13:47:28 -0400 Subject: [PATCH 6/7] Update spellcheck.yaml --- spellcheck.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/spellcheck.yaml b/spellcheck.yaml index f5f56e8..c3dbfe8 100644 --- a/spellcheck.yaml +++ b/spellcheck.yaml @@ -11,6 +11,7 @@ matrix: - pyspelling.filters.markdown: extensions: - .md + - pyspelling.filters.text sources: - '**/*.md' suggest: true From b8e69c3f561a32dc1686d378edeb4dfd1c142563 Mon Sep 17 00:00:00 2001 From: Jimmy Debe <91767824+jimstir@users.noreply.github.com> Date: Mon, 1 Jul 2024 13:50:52 -0400 Subject: [PATCH 7/7] Update spellcheck.yaml --- spellcheck.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spellcheck.yaml b/spellcheck.yaml index c3dbfe8..2684db4 100644 --- a/spellcheck.yaml +++ b/spellcheck.yaml @@ -16,7 +16,7 @@ matrix: - '**/*.md' suggest: true whitelist: - - ALLOC + - ALLOC - IANA - SHARDING - WAKU