-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
Fixed all warning.warn messages for space,full-stop etc issues #43163
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
Conversation
Hello @Kavya9986! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found: There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻 Comment last updated at 2021-08-25 09:55:36 UTC |
Hi @Kavya9986 - few tests are failing because the old error messages are used in them. You might want to update the error msgs as well. |
"round-trippable.") | ||
warnings.warn( | ||
"Index names beginning with 'level_' are not " "round-trippable." | ||
) |
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 were two " in the original because the string was split in two lines.
The new string should be "Index names beginning with 'level_' are not round-trippable."
(remove the " "
from the middle of string).
Hi ! |
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.
Yes . I ran a script . |
cool, do you want to share it? perhaps a pre-commit check could be made out of it |
List of files changed. Script
|
I meant, to find the warnings which needed changing - I don't think |
Oh ! Initially I tried automating it fully , but did it partially as I thought return on my time investment would not be justified . So first I ran this command to find the files and line number where potential fix was required And then filtered out all the .c files as all the warning messages there where commented . After which I used this I'm still trying to use some kind of pattern-matching to automate the whole task :)
|
…s-dev#43163) * Fixed all warning.warn messages for space,fullstop etc issues * fix ppe 8 issues reported * fix ppe 8 issues reported * fix ppe 8 issues reported * After precommit * fixed the expected variable * fixed flake8
I have fixed all the warning.warn messages in the entire code base for "Minor typo on warnings #39158" reported issue.
closes #39158
Summary of the changes .
Fix-Tracking-Sheet (2).xlsx