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

agronholm / typeguard / 29680413457
95%

Build:
DEFAULT BRANCH: master
Ran 19 Jul 2026 08:47AM UTC
Jobs 1
Files 12
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

19 Jul 2026 08:47AM UTC coverage: 94.847%. Remained the same
29680413457

push

github

web-flow
Fixed annotated assignment expressions being treated as unpacking targets (#563)

visit_NamedExpr wrapped its single target in an extra list, emitting [[('x', int)]] where the plain assignment path emits [('x', int)] for a single name. check_variable_assignment reads a list group as a tuple-unpacking target, so the walrus took the unpacking branch and consumed the assigned value with list().

That produced two wrong outcomes for a name that carries an annotation: a non-iterable value raised TypeError ('int' object is not iterable), and an iterable value raised nothing but was silently replaced, so x: str = 'abc' left x as ['a', 'b', 'c'].

A walrus target is always a single Name, so emit a bare tuple like the assignment path does. Type checking itself is unaffected: a genuinely wrong value still raises TypeCheckError.

The two transformer tests asserting the old output encoded this defect, so they now expect the single-target form.

Closes #557.

1638 of 1727 relevant lines covered (94.85%)

6.54 hits per line

Jobs
ID Job ID Ran Files Coverage
1 29680413457.1 19 Jul 2026 08:47AM UTC 12
94.85
GitHub Action Run
Source Files on build 29680413457
  • Tree
  • List 12
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #29680413457
  • 32e7c85f on github
  • Prev Build on master (#29210032832)
  • Next Build on master (#29681621432)
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