Skip to content

refactor: Use iterator to get first element of collections #580

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

Merged

Conversation

gfieni
Copy link
Contributor

@gfieni gfieni commented Apr 7, 2025

@gfieni gfieni self-assigned this Apr 7, 2025
@gfieni gfieni requested a review from a team as a code owner April 7, 2025 12:41
@gfieni gfieni force-pushed the refactor/unnecessary-iterable-allocation-for-first-element branch from 9df5f6f to 4bbbad6 Compare April 7, 2025 12:47
Copy link

sonarqubecloud bot commented Apr 7, 2025

@gfieni gfieni merged commit 050d78d into master Apr 7, 2025
9 checks passed
@gfieni gfieni deleted the refactor/unnecessary-iterable-allocation-for-first-element branch April 7, 2025 12:49
Copy link

codecov bot commented Apr 7, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 68.08%. Comparing base (e31ad68) to head (4bbbad6).
Report is 3 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #580   +/-   ##
=======================================
  Coverage   68.08%   68.08%           
=======================================
  Files          79       79           
  Lines        2980     2980           
=======================================
  Hits         2029     2029           
  Misses        951      951           
Files with missing lines Coverage Δ
src/powerapi/dispatch_rule/hwpc_dispatch_rule.py 97.77% <100.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant