Skip to content

Commit c7399b6

Browse files
authored
Spelling for CI (#2666)
1 parent b1103e3 commit c7399b6

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+
autoload
3+
autoloader
4+
autoloading
5+
Autoloading
6+
backend
7+
backends
8+
behaviour
9+
CAS
10+
ClickHouse
11+
config
12+
customizable
13+
Customizable
14+
dataset
15+
de
16+
ElastiCache
17+
extensibility
18+
FPM
19+
Golang
20+
IANA
21+
keyspace
22+
keyspaces
23+
Kvrocks
24+
localhost
25+
Lua
26+
MSSQL
27+
namespace
28+
NoSQL
29+
ORM
30+
Packagist
31+
PhpRedis
32+
pipelining
33+
pluggable
34+
Predis
35+
PSR
36+
Quickstart
37+
README
38+
rebalanced
39+
rebalancing
40+
redis
41+
Redis
42+
RocksDB
43+
runtime
44+
SHA
45+
sharding
46+
SSL
47+
struct
48+
stunnel
49+
TCP
50+
TLS
51+
uri
52+
URI
53+
url
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)