-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
spellcheck will skip the rule names of mypy inline directives #5929
spellcheck will skip the rule names of mypy inline directives #5929
Conversation
@Pierre-Sassoulas - you were the one who took a look at my previous PR regarding the spellchecker (#4330), are you still the right person to review this? |
4a937f5
to
c7deb4d
Compare
Pull Request Test Coverage Report for Build 2278156268
💛 - Coveralls |
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 for the time it took to review. It looks pretty good already. I wanted to ask you to add a functional tests but I'm struggling to add one myself in #6137. I'll upgrade your own MR when I figure out how to do that.
@eli88fine Sorry for letting this rest so long. I think @Pierre-Sassoulas and I agreed that this shouldn't be blocked by our internal changes to how we test the spelling checker. That said, would you be willing to explore whether this |
@DanielNoord - what's the "in the same pattern as above" that you're referring to? I don't see a link |
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.
Let's get this merged 😄
trying to follow the timestamps on all the different threads. Are you saying "leave the code alone, just add an entry in the doc/whatsnew" ? Or are there actual code changes you think would be good? |
Sorry! Being indecisive today 😅 The last comments were all recent. So let's change the pattern slightly and add the changelog entry! |
c7deb4d
to
174a05c
Compare
regex has been changed and docs updated |
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.
One final change and then LGTM!
Co-authored-by: Daniël van Noord <[email protected]>
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.
Thank you for your contribution @eli88fine ! It's going to be released in 2.14.
Type of Changes
Description
The spellchecker was a bit overaggressive in flagging the Mypy rule names inside of
ignore
directives. This allows those to be ignored by the spellchecker.