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

Use yield from instead of chained iterables #572

Merged
merged 5 commits into from
Feb 1, 2025

Conversation

sccolbert
Copy link
Member

The yield from feature of Python 3 makes this cleaner.

I didn't test locally. Let's see what the CI tests show.

Copy link

codecov bot commented Feb 1, 2025

Codecov Report

Attention: Patch coverage is 91.66667% with 2 lines in your changes missing coverage. Please review.

Project coverage is 70.95%. Comparing base (b7d662c) to head (24de950).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #572      +/-   ##
==========================================
- Coverage   70.96%   70.95%   -0.02%     
==========================================
  Files         288      288              
  Lines       25733    25733              
  Branches     3645     3647       +2     
==========================================
- Hits        18261    18258       -3     
  Misses       6384     6384              
- Partials     1088     1091       +3     

@sccolbert
Copy link
Member Author

@MatthieuDartiailh, @frmdstryr this is ready to go if y'all approve.

@frmdstryr
Copy link
Contributor

Much cleaner, LGTM.

@MatthieuDartiailh MatthieuDartiailh merged commit 87b3b1e into main Feb 1, 2025
22 of 23 checks passed
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.

3 participants