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

Refactor apply_parallel #268

Merged
merged 9 commits into from
Oct 16, 2023
Merged

Refactor apply_parallel #268

merged 9 commits into from
Oct 16, 2023

Conversation

znicholls
Copy link
Collaborator

@znicholls znicholls commented Oct 13, 2023

Pull request

Think of this branch as the 'dev' branch. I will make a couple of PRs into this and then we can merge the whole thing. The first commit (which is already here) just adds from __future__ import annotations and then runs ruff so that all the mess from that isn't in the other PRs as people review them.

Please confirm that this pull request has done the following:

@znicholls znicholls changed the title Ruff Refactor apply_parallel Oct 13, 2023
@codecov
Copy link

codecov bot commented Oct 13, 2023

Codecov Report

Attention: 15 lines in your changes are missing coverage. Please review.

Comparison is base (da76fff) 95.58% compared to head (44886a0) 95.15%.
Report is 9 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #268      +/-   ##
==========================================
- Coverage   95.58%   95.15%   -0.43%     
==========================================
  Files          24       24              
  Lines        2154     2190      +36     
  Branches      400      404       +4     
==========================================
+ Hits         2059     2084      +25     
- Misses         76       86      +10     
- Partials       19       20       +1     
Files Coverage Δ
src/scmdata/database/__init__.py 100.00% <100.00%> (ø)
src/scmdata/pyam_compat.py 36.84% <100.00%> (ø)
src/scmdata/run.py 95.00% <89.18%> (-0.35%) ⬇️
src/scmdata/groupby.py 78.40% <80.00%> (-3.85%) ⬇️

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@znicholls
Copy link
Collaborator Author

@lewisjared Python 3.8 seems happy even with these changes, I guess the future annotations work better than we though

@znicholls
Copy link
Collaborator Author

@lewisjared are you:

a) happy with this
b) happy for me to merge after #269 is merged?

@lewisjared
Copy link
Collaborator

Go for it

@znicholls znicholls marked this pull request as ready for review October 16, 2023 11:47
@znicholls znicholls merged commit f0dde60 into master Oct 16, 2023
16 of 18 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.

2 participants