Skip to content

Improve performance of number.scientific - #308

Closed
hugovk wants to merge 1 commit into
python-humanize:mainfrom
hugovk:perflint
Closed

Improve performance of number.scientific#308
hugovk wants to merge 1 commit into
python-humanize:mainfrom
hugovk:perflint

Replace for loop with list comprehension

968f5aa
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Apr 27, 2026 in 0s

99.53% (-0.01%) compared to 4898365, passed because coverage increased by 0% when compared to adjusted base (99.53%)

View this Pull Request on Codecov

99.53% (-0.01%) compared to 4898365, passed because coverage increased by 0% when compared to adjusted base (99.53%)

Details

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.53%. Comparing base (4898365) to head (968f5aa).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #308      +/-   ##
==========================================
- Coverage   99.54%   99.53%   -0.01%     
==========================================
  Files          11       11              
  Lines         871      868       -3     
==========================================
- Hits          867      864       -3     
  Misses          4        4              

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.