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

Gallopsled / pwntools / 25496194267 / 1
74%
dev: 74%

Build:
DEFAULT BRANCH: dev
Ran 07 May 2026 12:59PM UTC
Files 151
Run time 6s
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

07 May 2026 12:37PM UTC coverage: 73.943% (-0.003%) from 73.946%
25496194267.1

push

github

web-flow
Add type hints to timeout, term.text, hashes, and more (#2723)

* Add typehints to timeout module

Co-authored-by: Copilot <copilot@github.com>

* Add typehints to device class

* Add typehints to PwnlibException

* Add general typehints for term.text module

Since the available module attributes are handled dynamically like `text.green()` or `text.green_on_white()` or `text.underline_red()`, it's not feasible to type out all possible combinations.

Just tell the type checker that all module attibutes have the same type and thus avoid the `error: Module has no attribute "bold_blue"  [attr-defined]` errors.

* Add typehints for config module

* Add typehints for hashes module

The guaranteed algorithms in hashlib are pretty stable and we can generate the list out proper type checking and auto complete.

Still add a check in CI that notifies us if there are changes in the future.

* Add atexception and atexit types

atexception.unregister was not documented correctly since the function expects an identifier returned by `atexception.register` instead of the handler function.

* Fix toplevel type hints in shellcraft.internal

* Fix toplevel type hints in term.key

---------

Co-authored-by: Copilot <copilot@github.com>

3938 of 6600 branches covered (59.67%)

13570 of 18352 relevant lines covered (73.94%)

0.74 hits per line

Source Files on job 25496194267.1
  • Tree
  • List 151
  • Changed 10
  • Source Changed 0
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 25496194267
  • 79ca9a96 on github
  • Prev Job for on dev (#25490053918.1)
  • Next Job for on dev (#25498390613.1)
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