Skip to content

Conversation

@akx
Copy link
Member

@akx akx commented Mar 20, 2025

This is related to #1202 – the deeply nested os.path.join() would have formatted quite poorly, so it felt like a good idea to unnest it – and then I noticed the refactored codepaths weren't tested...

@codecov
Copy link

codecov bot commented Mar 20, 2025

Codecov Report

Attention: Patch coverage is 91.66667% with 3 lines in your changes missing coverage. Please review.

Project coverage is 91.98%. Comparing base (d7a7589) to head (f2b4e8e).
Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
babel/messages/frontend.py 91.66% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1204      +/-   ##
==========================================
+ Coverage   91.71%   91.98%   +0.26%     
==========================================
  Files          27       27              
  Lines        4685     4691       +6     
==========================================
+ Hits         4297     4315      +18     
+ Misses        388      376      -12     
Flag Coverage Δ
macos-14-3.10 91.02% <91.66%> (+0.26%) ⬆️
macos-14-3.11 90.96% <91.66%> (+0.26%) ⬆️
macos-14-3.12 91.17% <91.66%> (+0.26%) ⬆️
macos-14-3.13 91.17% <91.66%> (+0.26%) ⬆️
macos-14-3.8 90.89% <91.66%> (+0.26%) ⬆️
macos-14-3.9 90.95% <91.66%> (+0.26%) ⬆️
macos-14-pypy3.10 91.02% <91.66%> (+0.26%) ⬆️
ubuntu-24.04-3.10 91.04% <91.66%> (+0.26%) ⬆️
ubuntu-24.04-3.11 90.98% <91.66%> (+0.26%) ⬆️
ubuntu-24.04-3.12 91.19% <91.66%> (+0.26%) ⬆️
ubuntu-24.04-3.13 91.19% <91.66%> (+0.26%) ⬆️
ubuntu-24.04-3.8 90.91% <91.66%> (+0.26%) ⬆️
ubuntu-24.04-3.9 90.97% <91.66%> (+0.26%) ⬆️
ubuntu-24.04-pypy3.10 91.04% <91.66%> (+0.48%) ⬆️
windows-2022-3.10 91.03% <91.66%> (+0.26%) ⬆️
windows-2022-3.11 90.97% <91.66%> (+0.26%) ⬆️
windows-2022-3.12 91.18% <91.66%> (+0.26%) ⬆️
windows-2022-3.13 91.18% <91.66%> (+0.26%) ⬆️
windows-2022-3.8 91.01% <91.66%> (+0.26%) ⬆️
windows-2022-3.9 90.96% <91.66%> (+0.26%) ⬆️
windows-2022-pypy3.10 91.03% <91.66%> (+0.26%) ⬆️

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.

@akx akx marked this pull request as ready for review March 20, 2025 09:20
@akx akx requested a review from tomasr8 March 20, 2025 09:20
Copy link
Member

@tomasr8 tomasr8 left a comment

Choose a reason for hiding this comment

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

A bit delayed review 😆 Anyway, we should be using pathlib wherever possible, so +1 for this :)

assert mo_file.exists()



Copy link
Member

Choose a reason for hiding this comment

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

Suggested change

@akx akx merged commit c8c9365 into master Jun 24, 2025
25 of 26 checks passed
@akx akx added this to the Babel 2.18 milestone Oct 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants