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

tfcollins / pytest-libiio / 26347477238 / 1
87%
master: 67%

Build:
Build:
LAST BUILD BRANCH: v0.1.4
DEFAULT BRANCH: master
Ran 24 May 2026 12:31AM UTC
Files 5
Run time 0s
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

24 May 2026 12:29AM UTC coverage: 86.198% (-0.5%) from 86.683%
26347477238.1

push

github

tfcollins
Add ty type checker and fix mypy/ty diagnostics

- Add `nox -s ty` session running Astral's ty; add types-PyYAML and
  types-paramiko to the mypy session so it has stubs for those imports.
- plugin.py: replace implicit-Optional parameter defaults in
  iio_emu_manager with proper Optional[...] types; annotate
  self.p / self.hw / self.data_devices; stop assigning Optional[str]
  from os.getenv("IIO_EMU_URI") to self.uri; narrow exception in
  find_contexts from Exception to OSError to make ex.errno well-typed.
- plugin.py: move pytest._context_table / pytest.hw_telemetry /
  pytest.hw_telemetry_ssh_sessions module-stash anti-pattern to proper
  module-level globals (_context_table, _hw_telemetry,
  _hw_telemetry_ssh_sessions).
- mkpatch.py: rename _check_tracker -> _get_tracker (returns tracker so
  ty can narrow); replace _Attr._read_org/_write_org attribute stash
  with module-level _orig_read/_orig_write; install/restore monkey
  patch via setattr (with noqa B010) to make dynamic patching explicit.
- meta.py: drop unused `# type: ignore` on xml_str decode.
- Tests updated to match the refactors and to raise OSError subclasses
  so find_contexts catches them.

687 of 797 relevant lines covered (86.2%)

0.86 hits per line

Source Files on job 26347477238.1
  • Tree
  • List 5
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 26347477238
  • 30852702 on github
  • Prev Job for on main (#23960069137.1)
  • Next Job for on main (#26347821482.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