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

psf / black / 46072515738
96%
master: 96%

Build:
Build:
LAST BUILD BRANCH: fix/fmt-off-trailing-whitespace-nested-fstring
DEFAULT BRANCH: master
Ran 27 Nov 2026 09:48PM UTC
Jobs 5
Files 49
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

27 Nov 2026 09:47PM UTC coverage: 96.168% (+0.07%) from 96.102%
46072515738

push

github

web-flow
Add blackd-format, a standard-library command-line client for blackd (#5690)

* Add blackd-client, a standard-library command-line client for blackd

It formats several files in parallel, one request per file from a thread
pool capped by --workers (default 10), and only imports the standard
library, so it starts faster than black and needs no [d] extra.

* Add the PR number to the changelog entry

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Fix blackd-client CI failures and review findings

Close the HTTPError response after reading it; the leaked response was
reported as a ResourceWarning on 3.14+, Windows and PyPy. Read and write
test files as bytes so Windows newline translation doesn't change them, and
give the import check an explicit encoding and the inherited environment.

From the review: build --diff output like black.output.diff (no splitting
on form feeds, the 'No newline at end of file' marker), detect the encoding
after the line skipped by --skip-source-first-line as black does, and report
errors raised while reading a response, such as IncompleteRead, per file.

* Use a SelectorEventLoop for the blackd-client test server

The Windows ProactorEventLoop leaves the socket for a pending AcceptEx
unclosed at shutdown. PyPy collects it later and reports an unraisable
ResourceWarning in an unrelated test (test_format on pypy3.12/windows).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Keep the CORS note under Usage and tell the two blackd clients apart in the docs

* Rename blackd-client to blackd-format

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Cooper Ry Lees <me@cooperlees.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

8261 of 8636 branches covered (95.66%)

365 of 372 new or added lines in 2 files covered. (98.12%)

11091 of 11533 relevant lines covered (96.17%)

4.8 hits per line

Uncovered Changes

Lines Coverage ∆ File
5
97.4
src/blackd_format/__init__.py
2
98.89
tests/test_blackd_format.py
Jobs
ID Job ID Ran Files Coverage
1 py3.15-ubuntu-latest - 46072515738.1 27 Nov 2026 09:52PM UTC 49
95.55
2 py3.14-ubuntu-latest - 46072515738.2 27 Nov 2026 09:52PM UTC 49
95.73
3 py3.11-ubuntu-latest - 46072515738.3 27 Nov 2026 09:52PM UTC 49
96.12
4 py3.13-ubuntu-latest - 46072515738.4 27 Nov 2026 09:52PM UTC 49
96.11
5 py3.12-ubuntu-latest - 46072515738.5 27 Nov 2026 09:52PM UTC 49
96.11
Source Files on build 46072515738
  • Tree
  • List 49
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 573c81eb on github
  • Prev Build on main (#45524587923)
  • Next Build on main (#46689770059)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc