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

Update a yield statement loop to a yield from statement #158

Merged
merged 1 commit into from
Mar 8, 2024

Conversation

jonafato
Copy link
Contributor

@jonafato jonafato commented Mar 8, 2024

Pylint added a new use-yield-from in version 3.1. This results in a single linting error when running tox. This change updates a yield within a loop to a yield from per the linter's recommendation.

Pylint added a new `use-yield-from` in [version 3.1]. This results in a
single linting error when running `tox`. This change updates a `yield`
within a loop to a `yield from` per the linter's recommendation.

[version 3.1]: https://pylint.readthedocs.io/en/stable/whatsnew/3/3.1/
Copy link
Owner

@awdeorio awdeorio left a comment

Choose a reason for hiding this comment

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

LGTM!

@awdeorio awdeorio merged commit 349a192 into awdeorio:develop Mar 8, 2024
5 checks passed
@jonafato jonafato deleted the pylint-use-yield-from branch March 8, 2024 21:48
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