Skip to content

Conversation

@tomasr8
Copy link
Member

@tomasr8 tomasr8 commented Feb 4, 2025

Previously, the format checker would only validate the first 2 plurals. If a locale had more than two plurals, those would not be checked. This PR fixes that.

@codecov
Copy link

codecov bot commented Feb 4, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.68%. Comparing base (27e7303) to head (48ce7bf).
Report is 7 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1188   +/-   ##
=======================================
  Coverage   91.68%   91.68%           
=======================================
  Files          27       27           
  Lines        4689     4692    +3     
=======================================
+ Hits         4299     4302    +3     
  Misses        390      390           
Flag Coverage Δ
macos-14-3.10 90.72% <100.00%> (+<0.01%) ⬆️
macos-14-3.11 90.66% <100.00%> (+<0.01%) ⬆️
macos-14-3.12 90.87% <100.00%> (+<0.01%) ⬆️
macos-14-3.13 90.87% <100.00%> (+<0.01%) ⬆️
macos-14-3.8 90.59% <100.00%> (+<0.01%) ⬆️
macos-14-3.9 90.65% <100.00%> (+<0.01%) ⬆️
macos-14-pypy3.10 90.72% <100.00%> (+<0.01%) ⬆️
ubuntu-24.04-3.10 90.75% <100.00%> (+<0.01%) ⬆️
ubuntu-24.04-3.11 90.68% <100.00%> (+<0.01%) ⬆️
ubuntu-24.04-3.12 90.89% <100.00%> (+<0.01%) ⬆️
ubuntu-24.04-3.13 90.89% <100.00%> (+<0.01%) ⬆️
ubuntu-24.04-3.8 90.61% <100.00%> (+<0.01%) ⬆️
ubuntu-24.04-3.9 90.68% <100.00%> (+<0.01%) ⬆️
ubuntu-24.04-pypy3.10 90.75% <100.00%> (+<0.01%) ⬆️
windows-2022-3.10 90.74% <100.00%> (+<0.01%) ⬆️
windows-2022-3.11 90.67% <100.00%> (+<0.01%) ⬆️
windows-2022-3.12 90.88% <100.00%> (+<0.01%) ⬆️
windows-2022-3.13 90.88% <100.00%> (+<0.01%) ⬆️
windows-2022-3.8 90.71% <100.00%> (+<0.01%) ⬆️
windows-2022-3.9 90.67% <100.00%> (+<0.01%) ⬆️
windows-2022-pypy3.10 90.74% <100.00%> (+<0.01%) ⬆️

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.

🚀 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.

@tomasr8
Copy link
Member Author

tomasr8 commented Feb 24, 2025

@akx Do you think you'd have time to take a look at this at some point? I have a few followup PRs depending on this leading to the full lint CLI (though I can open them all already if you prefer?) 🙂

Copy link

@StanFromIreland StanFromIreland left a comment

Choose a reason for hiding this comment

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

Looks good to me :-)

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! Sorry, I'd missed the ping @tomasr8 😩

@akx akx merged commit 2b93a4a into python-babel:master Mar 7, 2025
26 checks passed
@tomasr8 tomasr8 deleted the checker-plurals branch March 7, 2025 15:08
@tomasr8
Copy link
Member Author

tomasr8 commented Mar 7, 2025

Lgtm! Sorry, I'd missed the ping @tomasr8 😩

No biggie :)

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.

3 participants