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

agronholm / typeguard / 30036939124
95%

Build:
DEFAULT BRANCH: master
Ran 23 Jul 2026 07:11PM 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

23 Jul 2026 07:11PM UTC coverage: 94.652% (-0.009%) from 94.661%
30036939124

push

github

web-flow
Fixed Literal check depending on argument order for bools (#566)

check_literal used final_args.index(value), which returns the first== equal element. Since bool is a subclass of int, True matched the int 1 in Literal[1, True]; the subsequent type check then failed and the genuinely matching True was never examined. As a result Literal[1, True] rejected True while Literal[True, 1] accepted it.

Scan the arguments instead, requiring both a type and a value match. The type test is kept first so it still short-circuits values whose __eq__ does not return a bool, which the previous ValueError handler covered.

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

1646 of 1739 relevant lines covered (94.65%)

6.53 hits per line

Jobs
ID Job ID Ran Files Coverage
1 30036939124.1 23 Jul 2026 07:11PM UTC 12
94.65
GitHub Action Run
Source Files on build 30036939124
  • 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 #30036939124
  • dd7fa670 on github
  • Prev Build on master (#29682536028)
  • Next Build on master (#30042551601)
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