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

psf / black / 43271857071
96%
master: 96%

Build:
Build:
LAST BUILD BRANCH: perf-gitignore-is-dir-once
DEFAULT BRANCH: master
Ran 12 Nov 2026 05:41PM UTC
Jobs 5
Files 47
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

12 Nov 2026 05:40PM UTC coverage: 96.04% (+0.001%) from 96.039%
43271857071

push

github

web-flow
Fix crash on a skipped async def header with a `...` body (#5671)

* Fix crash on a skipped async def header with a `...` body

`# fmt: skip` on an `async def` header, or `--line-ranges` that leave
the header unselected, turn the header into a STANDALONE_COMMENT that
sits under the `async_stmt`, outside the `funcdef`. `is_stub_suite`
still treated the `...` body as a stub to join onto the header line, but
`visit_funcdef` starts a new line, so the `...` was emitted at column 0
and Black reported "produced invalid code". For `def` and `class` the
same path gave the `...` a one-space indent.

A suite that no longer follows its colon is not a stub suite, so the
body is emitted as a normal indented block.

* Apply suggestion from @cobaltt7

---------

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

7856 of 8235 branches covered (95.4%)

5 of 5 new or added lines in 1 file covered. (100.0%)

10575 of 11011 relevant lines covered (96.04%)

4.79 hits per line

Jobs
ID Job ID Ran Files Coverage
1 py3.13-ubuntu-latest - 43271857071.1 12 Nov 2026 05:45PM UTC 47
95.98
2 py3.12-ubuntu-latest - 43271857071.2 12 Nov 2026 05:45PM UTC 47
95.98
3 py3.14-ubuntu-latest - 43271857071.3 12 Nov 2026 05:45PM UTC 47
95.6
4 py3.15-ubuntu-latest - 43271857071.4 12 Nov 2026 05:45PM UTC 47
95.41
5 py3.11-ubuntu-latest - 43271857071.5 12 Nov 2026 05:45PM UTC 47
95.99
Source Files on build 43271857071
  • Tree
  • List 47
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 58fc8385 on github
  • Prev Build on main (#41731816908)
  • Next Build on main (#43272099428)
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