Skip to content
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

Merged
merged 3 commits into from
Aug 19, 2022

Conversation

DetachHead
Copy link
Contributor

Type of Changes

Type
βœ“ πŸ› Bug fix
✨ New feature
πŸ”¨ Refactoring
πŸ“œ Docs

Refs #7311 (idk how to fix functions that return NoReturn)

@coveralls
Copy link

coveralls commented Aug 18, 2022

Pull Request Test Coverage Report for Build 2888183236

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 95.252%

Totals Coverage Status
Change from base Build 2885134699: 0.0%
Covered Lines: 16872
Relevant Lines: 17713

πŸ’› - Coveralls

@Pierre-Sassoulas Pierre-Sassoulas added the False Positive 🦟 A message is emitted but nothing is wrong with the code label Aug 18, 2022
@Pierre-Sassoulas Pierre-Sassoulas added this to the 2.15.0 milestone Aug 18, 2022
Copy link
Member

@Pierre-Sassoulas Pierre-Sassoulas left a 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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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

Copy link
Contributor Author

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

Copy link
Member

@Pierre-Sassoulas Pierre-Sassoulas Aug 19, 2022

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 πŸ˜„

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

Copy link
Member

@Pierre-Sassoulas Pierre-Sassoulas left a 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 πŸ‘

@github-actions
Copy link
Contributor

πŸ€– According to the primer, this change has no effect on the checked open source code. πŸ€–πŸŽ‰

This comment was generated for commit 48857eb

@Pierre-Sassoulas Pierre-Sassoulas merged commit 8a95cff into pylint-dev:main Aug 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
False Positive 🦟 A message is emitted but nothing is wrong with the code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants