-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
fix undefined-loop-variable
with break
and continue
statements in else
blocks
#7318
Conversation
Pull Request Test Coverage Report for Build 2888183236
π - 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.
Thank you for your contribution, nice prior analysis and fix π
@@ -0,0 +1 @@ | |||
fix `undefined-loop-variable` with `break` and `continue` statements in `else` blocks |
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.
fix `undefined-loop-variable` with `break` and `continue` statements in `else` blocks | |
Fix `undefined-loop-variable` with `break` and `continue` statements in `else` blocks | |
Refs #7311 |
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 applied this change but the newsfragments check is still failing, no idea why
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 had to investigate for a humiliatingly long time, it seems the .
is required. Regexes are hard π
This comment has been minimized.
This comment has been minimized.
f67abbe
to
c0ada39
Compare
β¦in `else` blocks
for more information, see https://pre-commit.ci
This comment has been minimized.
This comment has been minimized.
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.
Congratulation on becoming a pylint contributor π Next time you won't need approval to run pipelines automatically π
π€ According to the primer, this change has no effect on the checked open source code. π€π This comment was generated for commit 48857eb |
Type of Changes
Refs #7311 (idk how to fix functions that return
NoReturn
)