-
-
Notifications
You must be signed in to change notification settings - Fork 231
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix codespell issues #1715
Fix codespell issues #1715
Conversation
@@ -111,7 +111,7 @@ pydocstyle_report.txt: $(PYSOURCES) | |||
diff_pydocstyle_report: pydocstyle_report.txt | |||
diff-quality --compare-branch=main --violations=pydocstyle --fail-under=100 $^ | |||
|
|||
## codespell : check for common mispellings | |||
## codespell : check for common misspellings |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😄 ironically, whenever I type misspellings it's 50/50 I'll get it right
setup.cfg
Outdated
@@ -13,3 +13,6 @@ include_trailing_comma = True | |||
force_grid_wrap = 0 | |||
use_parentheses = True | |||
line_length = 88 | |||
|
|||
[codespell] | |||
ignore-words-list=ORE,ore |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Alternatively we can create a file with one word per line, and use ignore-file=FILE_NAME.
Codecov Report
@@ Coverage Diff @@
## main #1715 +/- ##
==========================================
+ Coverage 66.43% 66.45% +0.01%
==========================================
Files 89 89
Lines 15908 15908
Branches 4216 4216
==========================================
+ Hits 10569 10571 +2
+ Misses 4240 4238 -2
Partials 1099 1099
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
Co-authored-by: Michael R. Crusoe <1330696+mr-c@users.noreply.github.com>
I think
codespell
is failing in other PR's:I tested it locally, and it reformatted a few files. I excluded the word ORE as that's from an ontology's name. After the changes in this PR,
make cleanup
passes with exit code0
for me 🎉