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

is_generator correctly considers Yield nodes in AugAssign nodes #877

Merged
merged 1 commit into from
Jan 1, 2021

Conversation

PCManticore
Copy link
Contributor

Description

This fixes a false positive with the assignment-from-no-return pylint check, which skips generators when checking from assignments from functions that don't return anything.

Type of Changes

Type
🐛 Bug fix

Related Issue

Close pylint-dev/pylint#3904

This fixes a false positive with the `assignment-from-no-return` pylint check.

Close pylint-dev/pylint#3904
@PCManticore PCManticore merged commit c9fd193 into master Jan 1, 2021
@PCManticore PCManticore deleted the fix-is-generator-for-assign-nodes branch January 1, 2021 15:25
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.

False positive assignment-from-no-return on generator
1 participant