Skip to content

[used-before-def] fix false positive inside loop - #14307

Merged
JukkaL merged 1 commit into
python:masterfrom
ilinum:used-before-def/loops
Dec 19, 2022
Merged

JukkaL merged 1 commit into
python:masterfrom
ilinum:used-before-def/loops

Conversation

@ilinum

@ilinum ilinum commented Dec 17, 2022

Copy link
Copy Markdown
Collaborator

A similar case was addressed in #14176 but I missed the part where it doesn't need to be defined in a different branch. This makes the fix more complete.

@github-actions

Copy link
Copy Markdown
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@JukkaL
JukkaL merged commit b1388e0 into python:master Dec 19, 2022
@ilinum
ilinum deleted the used-before-def/loops branch January 23, 2023 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants