Hi there,
I am using pyspelling in Github Actions with the following .spellcheck.yaml file:
---
spellchecker: aspell
matrix:
- name: markdown
aspell:
lang: en
sources:
- "Chapters/*.md"
pipeline:
- pyspelling.filters.markdown
dictionary:
wordlists:
- wordlist.txt
output: wordlist.dic
encoding: utf-8
default_encoding: utf-8
expect_match: true
In the CI pipeline I see that it is running this command: Command: ['aspell', 'list', '--encoding', 'utf-8', '--add-extra-dicts', '/github/workspace/wordlist.dic', '--lang', 'en', '--mode', 'none']. The custom dictionary seems to have some effect, but it is still showing some of the words as mis-spelt, especially those with apostrophes. The dictionary looks something like this (truncated for brevity):
Battleborn
Carthago
Dacian
Dwarvish
Fangtooth
What happens if a word is duplicated inside of the dictionary? I think it might be related to that.
Also is there any way to get it to not print the contents of each file that it is checking?
Hi there,
I am using pyspelling in Github Actions with the following .spellcheck.yaml file:
In the CI pipeline I see that it is running this command:
Command: ['aspell', 'list', '--encoding', 'utf-8', '--add-extra-dicts', '/github/workspace/wordlist.dic', '--lang', 'en', '--mode', 'none']. The custom dictionary seems to have some effect, but it is still showing some of the words as mis-spelt, especially those with apostrophes. The dictionary looks something like this (truncated for brevity):What happens if a word is duplicated inside of the dictionary? I think it might be related to that.
Also is there any way to get it to not print the contents of each file that it is checking?