Skip to content

Commit f4a4397

Browse files
authored
Nhse o34 orkv.i87 spellcheck (OpenRiak#107)
Add spell-checker on PR, and fix the spelling errors it has discovered. Requires an extensive, bespoke wordlist. This has been categorised to try and ease management for the future.
1 parent b1a7708 commit f4a4397

File tree

9 files changed

+442
-16
lines changed

9 files changed

+442
-16
lines changed

.github/workflows/spellcheck.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: spellcheck
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- openriak-3.4
7+
8+
jobs:
9+
spellcheck:
10+
name: runner / spellcheck
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Check out code.
14+
uses: actions/checkout@v2
15+
- name: Run PySpelling as a GitHub action
16+
uses: sbates130272/spellcheck-github-actions@v0.6.0

.spellcheck.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
spellchecker: aspell
2+
matrix:
3+
- name: markdown
4+
aspell:
5+
lang: en
6+
d: en_GB
7+
mode: markdown
8+
ignore-case: true
9+
sources:
10+
- 'docs/*.md'
11+
pipeline:
12+
- pyspelling.filters.markdown
13+
dictionary:
14+
wordlists:
15+
- wordlist.txt
16+
output: wordlist.dic
17+
encoding: utf-8
18+
default_encoding: utf-8
19+
expect_match: true

0 commit comments

Comments
 (0)