Skip to content

Handle parentheses around MatchSequence more correctly - #863

Open
lieryan wants to merge 7 commits into
masterfrom
lieryan-match-case-corner-cases
Open

Handle parentheses around MatchSequence more correctly#863
lieryan wants to merge 7 commits into
masterfrom
lieryan-match-case-corner-cases

Refactor _get_surrounding_parens() into separate function

c8938c7
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Aug 20, 2026 in 1s

95.28% (+0.01%) compared to 56f0d0f

View this Pull Request on Codecov

95.28% (+0.01%) compared to 56f0d0f

Details

Codecov Report

❌ Patch coverage is 97.97980% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 95.28%. Comparing base (56f0d0f) to head (c8938c7).
⚠️ Report is 6 commits behind head on master.

Files with missing lines Patch % Lines
rope/refactor/patchedast.py 88.88% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #863      +/-   ##
==========================================
+ Coverage   95.27%   95.28%   +0.01%     
==========================================
  Files         134      134              
  Lines       26390    26534     +144     
==========================================
+ Hits        25142    25284     +142     
- Misses       1248     1250       +2     

☔ View full report in Codecov by Harness.
📢 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.