Skip to content

Commit 8fb760b

Browse files
tir38larsonerpeternewmanbl-ue
authored
Add note about not being a general spell checking tool. (#1535)
Co-authored-by: Eric Larson <[email protected]> Co-authored-by: Peter Newman <[email protected]> Co-authored-by: bl-ue <[email protected]>
1 parent 044e6ff commit 8fb760b

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

.github/workflows/codespell-private.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
- run: python setup.py install
3434
- run: codespell --help
3535
- run: make check
36-
- run: codespell --check-filenames --skip="./.git/*,*.pyc,./codespell_lib/tests/test_basic.py,./codespell_lib/data/*,./example/code.c,./build/lib/codespell_lib/tests/test_basic.py,./build/lib/codespell_lib/data/*"
36+
- run: codespell --check-filenames --skip="./.git/*,*.pyc,./codespell_lib/tests/test_basic.py,./codespell_lib/data/*,./example/code.c,./build/lib/codespell_lib/tests/test_basic.py,./build/lib/codespell_lib/data/*,README.rst,*.egg-info/*"
3737
# this file has an error
3838
- run: "! codespell codespell_lib/tests/test_basic.py"
3939
- run: codecov

.github/workflows/codespell.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ jobs:
1313
with:
1414
check_filenames: true
1515
# When using this Action in other repos, the --skip option below can be removed
16-
skip: ./.git,./codespell_lib/data,./example/code.c,test_basic.py,*.pyc
16+
skip: ./.git,./codespell_lib/data,./example/code.c,test_basic.py,*.pyc,README.rst

README.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ codespell
33

44
Fix common misspellings in text files. It's designed primarily for checking
55
misspelled words in source code, but it can be used with other files as well.
6+
It does not check for word membership in a complete dictionary, but instead
7+
looks for a set of common misspellings. Therefore it should catch errors like
8+
"adn", but it will not catch "adnasdfasdf". This also means it shouldn't
9+
generate false-positives when you use a niche term it doesn't know about.
610

711
Useful links
812
------------

0 commit comments

Comments
 (0)