Skip to content

Commit

Permalink
Integrating spellcheck into CI (#169)
Browse files Browse the repository at this point in the history
  • Loading branch information
chayim authored Oct 15, 2023
1 parent 2505558 commit 861d510
Show file tree
Hide file tree
Showing 3 changed files with 97 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/spellcheck-settings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
matrix:
- name: Markdown
expect_match: false
apsell:
lang: en
d: en_US
ignore-case: true
dictionary:
wordlists:
- .github/wordlist.txt
output: wordlist.dic
pipeline:
- pyspelling.filters.markdown:
markdown_extensions:
- markdown.extensions.extra:
- pyspelling.filters.html:
comments: false
attributes:
- alt
ignores:
- ':matches(code, pre)'
- code
- pre
- blockquote
- img
sources:
- 'README.md'
- 'FAQ.md'
- 'docs/**'
54 changes: 54 additions & 0 deletions .github/wordlist.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
ACLs
Autoloading
CAS
Customizable
ElastiCache
FPM
IANA
Kops
LRANGE
Lua
Misspelled words:
PSR
Packagist
PhpRedis
Predis
PyPI
README
Redis
SHA
SSL
TCP
TLS
URI
autoload
autoloader
autoloading
backend
backends
behaviour
benchmarking
boolean
customizable
dataset
de
dedcoded
extensibility
gcc
gevent
hiredis
keyspace
keyspaces
localhost
namespace
pipelining
pluggable
py
rebalanced
rebalancing
redis
runtime
sharding
stunnel
submodules
variadic
14 changes: 14 additions & 0 deletions .github/workflows/spellcheck.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: spellcheck
on:
pull_request:
jobs:
check-spelling:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Check Spelling
uses: rojopolis/spellcheck-github-actions@0.33.1
with:
config_path: .github/spellcheck-settings.yml
task_name: Markdown

0 comments on commit 861d510

Please sign in to comment.