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

psf / black / 38020076732
96%
master: 96%

Build:
Build:
LAST BUILD BRANCH: fix-interrupted-check-exit-code
DEFAULT BRANCH: master
Ran 10 Oct 2026 03:19AM UTC
Jobs 6
Files 46
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

10 Oct 2026 03:18AM UTC coverage: 95.639% (+0.008%) from 95.631%
38020076732

push

github

web-flow
Handle PEP 695 type parameter whitespace in whitespace() (#5504)

`visit_typeparams`, `visit_typevartuple`, and `visit_paramspec` removed the space after `[`, `*`, and `**` by clearing the leaf prefix after `visit_default` had appended it. That only works for the lines built by `LineGenerator`: whenever a transformer rebuilds a line through `append_leaves` without `preformatted=True`, `whitespace()` runs again and reinstates the space. The unstable `string_processing` feature does exactly that when it splits a string inside a type parameter default, producing

    def f[
        * Ts = Set[
            "..."
            " ..."
        ]
    ]():

Teach `whitespace()` the three cases directly, which is where every other bracket and vararg rule lives, and drop the post-hoc prefix fixups. Stable output is unchanged; the existing `type_params.py` and `type_param_defaults.py` cases cover the simple forms, and the new case covers the rebuilt-line path.

6590 of 6973 branches covered (94.51%)

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

9716 of 10159 relevant lines covered (95.64%)

5.71 hits per line

Jobs
ID Job ID Ran Files Coverage
1 py3.15-ubuntu-latest - 38020076732.1 10 Oct 2026 03:22AM UTC 46
94.95
2 py3.11-ubuntu-latest - 38020076732.2 10 Oct 2026 03:22AM UTC 46
95.56
3 py3.13-ubuntu-latest - 38020076732.3 10 Oct 2026 03:22AM UTC 46
95.57
4 py3.10-ubuntu-latest - 38020076732.4 10 Oct 2026 03:22AM UTC 45
95.71
5 py3.14-ubuntu-latest - 38020076732.5 10 Oct 2026 03:22AM UTC 46
95.15
6 py3.12.10-ubuntu-latest - 38020076732.6 10 Oct 2026 03:22AM UTC 46
95.57
Source Files on build 38020076732
  • Tree
  • List 46
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • c45f21d0 on github
  • Prev Build on main (#38019908418)
  • Next Build on main (#38021746396)
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