Skip to content

WIP: _unused: implement optional tracing of object creation

6a87074
Select commit
Loading
Failed to load commit list.
Draft

_unused.MustUse: add optional stack trace capturing #1655

WIP: _unused: implement optional tracing of object creation
6a87074
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project failed Apr 23, 2026 in 0s

91.21% (-0.07%) compared to ba80e01

View this Pull Request on Codecov

91.21% (-0.07%) compared to ba80e01

Details

Codecov Report

❌ Patch coverage is 61.53846% with 10 lines in your changes missing coverage. Please review.
✅ Project coverage is 91.21%. Comparing base (ba80e01) to head (6a87074).
⚠️ Report is 5 commits behind head on main.

Files with missing lines Patch % Lines
amaranth/_unused.py 61.53% 8 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1655      +/-   ##
==========================================
- Coverage   91.28%   91.21%   -0.07%     
==========================================
  Files          44       44              
  Lines       11517    11540      +23     
  Branches     2242     2246       +4     
==========================================
+ Hits        10513    10526      +13     
- Misses        842      850       +8     
- Partials      162      164       +2     

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