-
Notifications
You must be signed in to change notification settings - Fork 38
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
codespell: workflow, config, typos fixed #139
Conversation
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 @yarikoptic. lgtm
.codespellrc
Outdated
@@ -0,0 +1,4 @@ | |||
[codespell] | |||
skip = .git,*.pdf,*.svg | |||
# BU - part of JP3t17pCcGlemwknint6hfoeCVQrEMVwxRLRjXpq+BU= |
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.
@yarikoptic as someone who is not too familiar with codespell what does this represent?
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.
in this comment I am listing why we need to exclude BU
-- you can find it by the end of that string and you have this string in the codebase somewhere.
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.
This string is in a go.sum
file. Does it not make more sense to add *.sum
to the skip
list?
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.
indeed, done!
/lgtm |
merged |
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 for the explaination. Please rather add go.sum
and go.mod
to the skip list instead of handling the checksum as a word.
.codespellrc
Outdated
@@ -0,0 +1,4 @@ | |||
[codespell] | |||
skip = .git,*.pdf,*.svg | |||
# BU - part of JP3t17pCcGlemwknint6hfoeCVQrEMVwxRLRjXpq+BU= |
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.
This string is in a go.sum
file. Does it not make more sense to add *.sum
to the skip
list?
Signed-off-by: Yaroslav Halchenko <debian@onerussian.com>
Signed-off-by: Yaroslav Halchenko <debian@onerussian.com>
Signed-off-by: Yaroslav Halchenko <debian@onerussian.com>
Signed-off-by: Yaroslav Halchenko <debian@onerussian.com>
=== Do not change lines below === { "chain": [], "cmd": "codespell -w", "exit": 0, "extra_inputs": [], "inputs": [], "outputs": [], "pwd": "." } ^^^ Do not change lines above ^^^ Signed-off-by: Yaroslav Halchenko <debian@onerussian.com>
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.
lgtm
While listening to @elezar giving a presentation, decided to check the CDI out: Having typos free code would be very useful for 1.0 release ;)