Skip to content

fix: keep comment-only lines inside from-import groups - #2588

Open
l46983284-cpu wants to merge 12 commits into
PyCQA:mainfrom
l46983284-cpu:issue/1852-preserve-comment-only-import-lines
Open

fix: keep comment-only lines inside from-import groups#2588
l46983284-cpu wants to merge 12 commits into
PyCQA:mainfrom
l46983284-cpu:issue/1852-preserve-comment-only-import-lines

test: cover trailing-separator and dedup arcs in from_body inject

e3f9e7f
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jul 29, 2026 in 1s

99.34% (+0.04%) compared to bae1e55

View this Pull Request on Codecov

99.34% (+0.04%) compared to bae1e55

Details

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.34%. Comparing base (bae1e55) to head (e3f9e7f).
⚠️ Report is 14 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2588      +/-   ##
==========================================
+ Coverage   99.30%   99.34%   +0.04%     
==========================================
  Files          41       41              
  Lines        3153     3211      +58     
  Branches      681      697      +16     
==========================================
+ Hits         3131     3190      +59     
  Misses         14       14              
+ Partials        8        7       -1     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.