-
Notifications
You must be signed in to change notification settings - Fork 298
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
Typo fixes #837
Typo fixes #837
Conversation
Found via `codespell -q 3 -S *.js -L ba`
Codecov Report
@@ Coverage Diff @@
## master #837 +/- ##
=======================================
Coverage 95.15% 95.15%
=======================================
Files 32 32
Lines 7495 7495
Branches 799 799
=======================================
Hits 7132 7132
Misses 224 224
Partials 139 139
Continue to review full report at Codecov.
|
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.
Thanks @luzpaz this is great. I just had the one comment.
I wonder if the check you did should be added to CI to prevent these types of spelling errors from creeping back in.
cadquery/cq.py
Outdated
@@ -698,7 +698,7 @@ def first(self: T) -> T: | |||
def item(self: T, i: int) -> T: | |||
""" | |||
|
|||
Return the ith item on the stack. | |||
Return the nth item on the stack. |
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.
I think ith
was correct here since the index variable was i
.
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.
Sorry about that, reverted in a7f62f2
Yes, some repos have done this. I don't have that info in front of me right now. |
@marcus7070 @adam-urbanczyk Do either of you want to check these spelling fixes before I merge? |
Check out codespell-project/codespell#1499 |
I skimmed and it LGTM. |
@luzpaz Thanks! |
Found via
codespell -q 3 -S *.js -L ba