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

Gallopsled / pwntools / 25496194267
74%

Build:
DEFAULT BRANCH: dev
Ran 07 May 2026 12:59PM UTC
Jobs 1
Files 151
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

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

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%)

91 of 96 new or added lines in 10 files covered. (94.79%)

7 existing lines in 2 files now uncovered.

13570 of 18352 relevant lines covered (73.94%)

0.74 hits per line

Uncovered Changes

Lines Coverage ∆ File
4
45.0
-7.78% pwnlib/atexception.py
1
78.79
5.26% pwnlib/atexit.py

Coverage Regressions

Lines Coverage ∆ File
4
45.0
-7.78% pwnlib/atexception.py
3
75.68
-1.62% pwnlib/memleak.py
Jobs
ID Job ID Ran Files Coverage
1 25496194267.1 07 May 2026 12:59PM UTC 151
73.94
GitHub Action Run
Source Files on build 25496194267
  • 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 Repo
  • 79ca9a96 on github
  • Prev Build on dev (#25490053918)
  • Next Build on dev (#25498390613)
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