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

Prevent used-before-assignment in pattern matching with a guard #7922

Merged
merged 1 commit into from
Dec 12, 2022

Conversation

jacobtylerwalls
Copy link
Member

Type of Changes

Type
βœ“ πŸ› Bug fix

Description

Closes #5327

Supersedes #7793

@coveralls
Copy link

Pull Request Test Coverage Report for Build 3672683202

  • 2 of 2 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.0005%) to 95.493%

Totals Coverage Status
Change from base Build 3665399821: 0.0005%
Covered Lines: 17650
Relevant Lines: 18483

πŸ’› - Coveralls

@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 46c2f90

@Pierre-Sassoulas Pierre-Sassoulas merged commit bc9f15f into pylint-dev:main Dec 12, 2022
github-actions bot pushed a commit that referenced this pull request Dec 12, 2022
@jacobtylerwalls jacobtylerwalls deleted the issue-5372 branch December 12, 2022 12:44
Pierre-Sassoulas pushed a commit that referenced this pull request Dec 12, 2022
) (#7923)

(cherry picked from commit bc9f15f)

Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Backported 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.

False positive used-before-assignment in pattern matching with a guard.
3 participants