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

Tatsh / deltona / 24947783792
100%

Build:
DEFAULT BRANCH: master
Ran 26 Apr 2026 04:04AM UTC
Jobs 5
Files 27
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

26 Apr 2026 03:59AM UTC coverage: 100.0%. Remained the same
24947783792

push

github

Tatsh
refactor: preserve commas in single-element LHS tuple unpacks

When classifying an opening `(`, `_prev_sig` walked backwards across
`NEWLINE` tokens and could reach a `NAME` from the previous logical
statement (for example the `int` in `count: int\n(count,) = ...`).
That mis-classified the opener as a function call, so
`_is_required_single_element` returned `False` and the rewriter
stripped the comma from `(count,)`. The result, `(count) = ...`, is a
parenthesised target rather than a 1-tuple unpack, silently changing
the assignment's semantics.

Add a `_STATEMENT_BREAKS` set covering `NEWLINE`, `INDENT`, `DEDENT`,
and `ENCODING` and have `_prev_sig` return `None` on hitting one, so
backward classification stops at the start of the current statement.
`NL` (in-expression continuation) is unchanged, keeping multi-line
forward scans for trailing commas working as before.

Add regression tests covering the original shape (after a type
annotation in a function), at module top, and after an arbitrary
prior statement.

Signed-off-by: Andrew Udvare <audvare@gmail.com>

395 of 395 branches covered (100.0%)

Branch coverage included in aggregate %.

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

3289 of 3289 relevant lines covered (100.0%)

5.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 24947783792.1 26 Apr 2026 04:04AM UTC 27
100.0
GitHub Action Run
2 24947783792.2 26 Apr 2026 04:05AM UTC 27
100.0
GitHub Action Run
3 24947783792.3 26 Apr 2026 04:06AM UTC 27
100.0
GitHub Action Run
4 24947783792.4 26 Apr 2026 04:07AM UTC 27
100.0
GitHub Action Run
5 24947783792.5 26 Apr 2026 04:11AM UTC 27
100.0
GitHub Action Run
Source Files on build 24947783792
  • Tree
  • List 27
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #24947783792
  • 404f63f5 on github
  • Prev Build on master (#24946632770)
  • Next Build on master (#24947903156)
  • Delete
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