Skip to content

Commit 861d510

Browse files
authored
Integrating spellcheck into CI (#169)
1 parent 2505558 commit 861d510

File tree

3 files changed

+97
-0
lines changed

3 files changed

+97
-0
lines changed

.github/spellcheck-settings.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
matrix:
2+
- name: Markdown
3+
expect_match: false
4+
apsell:
5+
lang: en
6+
d: en_US
7+
ignore-case: true
8+
dictionary:
9+
wordlists:
10+
- .github/wordlist.txt
11+
output: wordlist.dic
12+
pipeline:
13+
- pyspelling.filters.markdown:
14+
markdown_extensions:
15+
- markdown.extensions.extra:
16+
- pyspelling.filters.html:
17+
comments: false
18+
attributes:
19+
- alt
20+
ignores:
21+
- ':matches(code, pre)'
22+
- code
23+
- pre
24+
- blockquote
25+
- img
26+
sources:
27+
- 'README.md'
28+
- 'FAQ.md'
29+
- 'docs/**'

.github/wordlist.txt

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
ACLs
2+
Autoloading
3+
CAS
4+
Customizable
5+
ElastiCache
6+
FPM
7+
IANA
8+
Kops
9+
LRANGE
10+
Lua
11+
Misspelled words:
12+
PSR
13+
Packagist
14+
PhpRedis
15+
Predis
16+
PyPI
17+
README
18+
Redis
19+
SHA
20+
SSL
21+
TCP
22+
TLS
23+
URI
24+
autoload
25+
autoloader
26+
autoloading
27+
backend
28+
backends
29+
behaviour
30+
benchmarking
31+
boolean
32+
customizable
33+
dataset
34+
de
35+
dedcoded
36+
extensibility
37+
gcc
38+
gevent
39+
hiredis
40+
keyspace
41+
keyspaces
42+
localhost
43+
namespace
44+
pipelining
45+
pluggable
46+
py
47+
rebalanced
48+
rebalancing
49+
redis
50+
runtime
51+
sharding
52+
stunnel
53+
submodules
54+
variadic

.github/workflows/spellcheck.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: spellcheck
2+
on:
3+
pull_request:
4+
jobs:
5+
check-spelling:
6+
runs-on: ubuntu-latest
7+
steps:
8+
- name: Checkout
9+
uses: actions/checkout@v3
10+
- name: Check Spelling
11+
uses: rojopolis/[email protected]
12+
with:
13+
config_path: .github/spellcheck-settings.yml
14+
task_name: Markdown

0 commit comments

Comments
 (0)