• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

psf / black / 28672992099
96%
master: 96%

Build:
Build:
LAST BUILD BRANCH: string-merge-batch-leaves
DEFAULT BRANCH: master
Ran 03 Jul 2026 04:37PM UTC
Jobs 6
Files 43
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

03 Jul 2026 04:36PM UTC coverage: 95.857% (-0.002%) from 95.859%
28672992099

push

github

web-flow
batch --line-ranges node conversion to avoid quadratic removal (#5213)

* batch --line-ranges node conversion to avoid quadratic removal

* Fix decorator handling in batched --line-ranges conversion

Deferring the STANDALONE_COMMENT conversions broke single-line decorated
blocks. The per-node path relied on the decorator being collapsed in place
before the decorated node was converted: it re-inserted a NEWLINE between
the two and read the migrated prefix off the replaced first leaf. With the
conversions batched, the decorator is still its own child carrying its
NEWLINE, so re-inserting one doubled the blank line, and the enclosing
decorated conversion picked up an empty prefix after the decorator run had
already cleared it.

Drop the now-redundant NEWLINE insertion, remember each first leaf's taken
prefix so an inner and an outer conversion over the same leaf reuse it, and
zero that leaf's lineno to mirror the fresh line-0 STANDALONE_COMMENT the
in-place path used to leave behind. Fixes line_ranges_decorator_edge_case.

---------

Co-authored-by: cobalt <61329810+cobaltt7@users.noreply.github.com>

5841 of 6165 branches covered (94.74%)

70 of 71 new or added lines in 1 file covered. (98.59%)

1 existing line in 1 file now uncovered.

8677 of 9052 relevant lines covered (95.86%)

5.74 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
93.82
0.33% src/black/ranges.py

Coverage Regressions

Lines Coverage ∆ File
1
93.82
0.33% src/black/ranges.py
Jobs
ID Job ID Ran Files Coverage
1 py3.11-ubuntu-latest - 28672992099.1 03 Jul 2026 04:40PM UTC 43
95.77
2 py3.10-ubuntu-latest - 28672992099.2 03 Jul 2026 04:40PM UTC 43
95.76
3 py3.12.10-ubuntu-latest - 28672992099.3 03 Jul 2026 04:40PM UTC 43
95.78
4 py3.15-ubuntu-latest - 28672992099.4 03 Jul 2026 04:40PM UTC 43
95.11
5 py3.13-ubuntu-latest - 28672992099.5 03 Jul 2026 04:40PM UTC 43
95.78
6 py3.14-ubuntu-latest - 28672992099.6 03 Jul 2026 04:40PM UTC 43
95.33
Source Files on build 28672992099
  • Tree
  • List 43
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 0a6396ba on github
  • Prev Build on main (#28639675748)
  • Next Build on main (#28675585648)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc