-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ability to run spellcheck locally
Signed-off-by: Nathan Weinberg <nweinber@redhat.com>
- Loading branch information
1 parent
db8375f
commit aa3e7c2
Showing
4 changed files
with
52 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
|
||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
matrix: | ||
- name: markdown | ||
aspell: | ||
lang: en | ||
d: en_US | ||
camel-case: true | ||
mode: markdown | ||
sources: | ||
- "**/*.md|!REVIEWERS.md|!build/**|!.tox/**" | ||
dictionary: | ||
wordlists: | ||
- .spellcheck-en-custom.txt | ||
pipeline: | ||
- pyspelling.filters.context: | ||
context_visible_first: true | ||
escapes: '\\[\\`~]' | ||
delimiters: | ||
# Ignore multiline content between fences (fences can have 3 or more back ticks) | ||
# ```language | ||
# content | ||
# ``` | ||
- open: '(?s)^(?P<open> *`{3,}).*?$' | ||
close: '^(?P=open)$' | ||
# Ignore text between inline back ticks | ||
- open: '(?P<open>`+)' | ||
close: '(?P=open)' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters