Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Jul 25, 2024

Conversation

tomasr8
Copy link
Member

@tomasr8 tomasr8 commented Jul 23, 2024

Based on the discussion here: #1084

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

Makes it explicit that even when using fuzzy=True,
the function can still raise if there are no suitable formats
that match the skeleton.
@tomasr8 tomasr8 force-pushed the format-skeleton-docs branch from 9f1ec80 to b4eebb6 Compare July 23, 2024 20:44
Copy link

codecov bot commented Jul 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

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

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1106   +/-   ##
=======================================
  Coverage   91.28%   91.28%           
=======================================
  Files          26       26           
  Lines        4476     4476           
=======================================
  Hits         4086     4086           
  Misses        390      390           
Flag Coverage Δ
macos-12-3.10 90.03% <ø> (ø)
macos-12-3.11 90.03% <ø> (ø)
macos-12-3.12 90.32% <ø> (ø)
macos-12-3.8 90.02% <ø> (ø)
macos-12-3.9 90.02% <ø> (ø)
macos-12-pypy3.10 90.03% <ø> (ø)
ubuntu-22.04-3.10 90.05% <ø> (ø)
ubuntu-22.04-3.11 90.05% <ø> (ø)
ubuntu-22.04-3.12 90.34% <ø> (ø)
ubuntu-22.04-3.8 90.05% <ø> (ø)
ubuntu-22.04-3.9 90.05% <ø> (ø)
ubuntu-22.04-pypy3.10 90.05% <ø> (ø)
windows-2022-3.10 90.18% <ø> (ø)
windows-2022-3.11 90.18% <ø> (ø)
windows-2022-3.12 90.47% <ø> (ø)
windows-2022-3.8 90.17% <ø> (ø)
windows-2022-3.9 90.17% <ø> (ø)
windows-2022-pypy3.10 90.18% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

Copy link
Member

@akx akx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@akx akx merged commit 32f41c2 into python-babel:master Jul 25, 2024
23 checks passed
@tomasr8 tomasr8 deleted the format-skeleton-docs branch July 25, 2024 10:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants