python-babel / babel

The official repository for Babel, the Python Internationalization Library
http://babel.pocoo.org/
BSD 3-Clause "New" or "Revised" License
1.29k stars 433 forks source link

Improve type annotation for `babel.support.Translations.load` #983

Closed akx closed 1 year ago

akx commented 1 year ago

Fixes #982

codecov[bot] commented 1 year ago

Codecov Report

Merging #983 (8553928) into master (0ce196f) will decrease coverage by 0.04%. The diff coverage is 83.33%.

@@            Coverage Diff             @@
##           master     #983      +/-   ##
==========================================
- Coverage   90.94%   90.90%   -0.04%     
==========================================
  Files          25       25              
  Lines        4352     4356       +4     
==========================================
+ Hits         3958     3960       +2     
- Misses        394      396       +2     
Impacted Files Coverage Δ
babel/support.py 84.76% <70.00%> (-0.56%) :arrow_down:
babel/messages/catalog.py 95.71% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more