python-babel / babel

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

Add a mention to the docs that `format_skeleton(..., fuzzy=True)` may raise #1106

Closed tomasr8 closed 4 months ago

tomasr8 commented 4 months ago

Based on the discussion here: #1084

This should make it clearer that fuzzy matching might still fail to find a suitable pattern.

codecov[bot] commented 4 months ago

Codecov Report

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

Project coverage is 91.28%. Comparing base (ad0fabe) to head (b4eebb6). Report is 1 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1106 +/- ## ======================================= Coverage 91.28% 91.28% ======================================= Files 26 26 Lines 4476 4476 ======================================= Hits 4086 4086 Misses 390 390 ``` | [Flag](https://app.codecov.io/gh/python-babel/babel/pull/1106/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-babel) | Coverage Δ | | |---|---|---| | [macos-12-3.10](https://app.codecov.io/gh/python-babel/babel/pull/1106/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-babel) | `90.03% <ø> (ø)` | | | [macos-12-3.11](https://app.codecov.io/gh/python-babel/babel/pull/1106/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-babel) | `90.03% <ø> (ø)` | | | [macos-12-3.12](https://app.codecov.io/gh/python-babel/babel/pull/1106/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-babel) | `90.32% <ø> (ø)` | | | [macos-12-3.8](https://app.codecov.io/gh/python-babel/babel/pull/1106/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-babel) | `90.02% <ø> (ø)` | | | [macos-12-3.9](https://app.codecov.io/gh/python-babel/babel/pull/1106/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-babel) | `90.02% <ø> (ø)` | | | [macos-12-pypy3.10](https://app.codecov.io/gh/python-babel/babel/pull/1106/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-babel) | `90.03% <ø> (ø)` | | | [ubuntu-22.04-3.10](https://app.codecov.io/gh/python-babel/babel/pull/1106/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-babel) | `90.05% <ø> (ø)` | | | [ubuntu-22.04-3.11](https://app.codecov.io/gh/python-babel/babel/pull/1106/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-babel) | `90.05% <ø> (ø)` | | | [ubuntu-22.04-3.12](https://app.codecov.io/gh/python-babel/babel/pull/1106/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-babel) | `90.34% <ø> (ø)` | | | [ubuntu-22.04-3.8](https://app.codecov.io/gh/python-babel/babel/pull/1106/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-babel) | `90.05% <ø> (ø)` | | | [ubuntu-22.04-3.9](https://app.codecov.io/gh/python-babel/babel/pull/1106/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-babel) | `90.05% <ø> (ø)` | | | [ubuntu-22.04-pypy3.10](https://app.codecov.io/gh/python-babel/babel/pull/1106/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-babel) | `90.05% <ø> (ø)` | | | [windows-2022-3.10](https://app.codecov.io/gh/python-babel/babel/pull/1106/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-babel) | `90.18% <ø> (ø)` | | | [windows-2022-3.11](https://app.codecov.io/gh/python-babel/babel/pull/1106/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-babel) | `90.18% <ø> (ø)` | | | [windows-2022-3.12](https://app.codecov.io/gh/python-babel/babel/pull/1106/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-babel) | `90.47% <ø> (ø)` | | | [windows-2022-3.8](https://app.codecov.io/gh/python-babel/babel/pull/1106/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-babel) | `90.17% <ø> (ø)` | | | [windows-2022-3.9](https://app.codecov.io/gh/python-babel/babel/pull/1106/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-babel) | `90.17% <ø> (ø)` | | | [windows-2022-pypy3.10](https://app.codecov.io/gh/python-babel/babel/pull/1106/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-babel) | `90.18% <ø> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-babel#carryforward-flags-in-the-pull-request-comment) to find out more.

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