-
Notifications
You must be signed in to change notification settings - Fork 1
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
Add pre-commit
hook to keep dictionary file sorted
#77
Conversation
5ff6f0b
to
3dd08e2
Compare
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.
Nice!
MkDocs | ||
MLOps | ||
Modeling |
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.
🤢
.wordlist.txt
Outdated
jamesturner | ||
jcohen | ||
labeled |
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.
🤢
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 to get the job done.
.wordlist.txt
is somewhat hacky and get worse as we go, but working with spellchecker has been frustrating from my side: It checks what it should not and it is difficult to modify.
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 is handy 👍
Álvarez
(my second surname) is the last on the 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.
Cool. LGTM. 👍
Yeah. Clearly the sorting isn't Unicode aware 😞 |
It's unused.
00863b8
to
7023e1b
Compare
Well, thinking about it @dalonsoa, this will ensure that everyone checking the file reads your name (as hardly anyone ever scrolls up to the beginning of it). |
I've added a pre-commit hook to keep our dictionary file sorted, which should make it a bit tidier. It will also filter out duplicate entries.
I wanted it to be sorted in a case-insensitive manner, but this didn't work for me: pre-commit/pre-commit-hooks#1105