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 432 forks source link

feat: allow precision specification when bypassing decimal quantization #1058

Open olunusib opened 5 months ago

olunusib commented 5 months ago

When bypassing decimal quantization, we should be able to specify precision. Closes #893

Note: This PR is a recreation of the previously closed PR #1010. The original changes were lost due to issues with my previous machine setup. I have re-applied the changes as accurately as possible to maintain the continuity of the work and discussion from PR #1010.

cc @FelixSchwarz @clj @gdiscry

codecov[bot] commented 5 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (40e60a1) 90.99% compared to head (cf0cf53) 89.83%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1058 +/- ## ========================================== - Coverage 90.99% 89.83% -1.17% ========================================== Files 26 26 Lines 4444 4448 +4 ========================================== - Hits 4044 3996 -48 - Misses 400 452 +52 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.