Skip to content

Add proper typing @overload to methods

1893e14
Select commit
Loading
Failed to load commit list.
Merged

Add proper typing @overload to zimscraperlib.image.optimize_xxx methods #273

Add proper typing @overload to methods
1893e14
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project failed Dec 2, 2025 in 1s

99.63% (-0.25%) compared to 26e3ab1

View this Pull Request on Codecov

99.63% (-0.25%) compared to 26e3ab1

Details

Codecov Report

❌ Patch coverage is 53.84615% with 6 lines in your changes missing coverage. Please review.
✅ Project coverage is 99.63%. Comparing base (26e3ab1) to head (1893e14).

Files with missing lines Patch % Lines
src/zimscraperlib/image/optimization.py 53.84% 6 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #273      +/-   ##
==========================================
- Coverage   99.87%   99.63%   -0.25%     
==========================================
  Files          41       41              
  Lines        2480     2493      +13     
  Branches      340      346       +6     
==========================================
+ Hits         2477     2484       +7     
- Misses          1        7       +6     
  Partials        2        2              

☔ 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.