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

hardbyte / python-can / 45873173875
74%

Build:
DEFAULT BRANCH: main
Ran 26 Nov 2026 06:07PM UTC
Jobs 21
Files 91
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

26 Nov 2026 06:05PM UTC coverage: 73.516% (-0.002%) from 73.518%
45873173875

push

github

web-flow
Optimize slcan serial read and buffer processing (#2080)

* Optimize slcan serial read and buffer processing

Refactor reading from serial to improve performance by using C level's bytearray.find() to replace `for` iteration.

* Limit slcan ERROR search to bytes before the first OK terminator

An ERROR byte only matters if it comes before the first OK byte, so the unbounded find() scanned the whole backlog on every recv() and made the branch slower than main under backlog (9.3 vs 1.9 us/recv with 20,000 queued frames; bounded find: 0.4 us/recv).

* Fix slcan lint: black/ruff formatting and changelog fragment

black and ruff reformatted _read (wrapped long lines, stripped trailing whitespace on blank lines, min() per ruff FURB136 - the if/else branch is faster but does not survive the repo lint); added doc/changelog.d/2080.changed.rst.

* Fix pylint C0301: move slcan comment to its own line

The trailing comment made the line 102 chars, over pylint's 100-char limit (ruff exempts E501 for can/interfaces/*, black does not wrap comments). As a standalone line it is 98 chars.

15 of 17 new or added lines in 1 file covered. (88.24%)

8089 of 11003 relevant lines covered (73.52%)

14.62 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
82.02
-0.34% can/interfaces/slcan.py
Jobs
ID Job ID Ran Files Coverage
1 Unittests-windows-latest-py314 - 45873173875.1 26 Nov 2026 06:08PM UTC 91
70.76
GitHub Action Run
2 Unittests-ubuntu-latest-py313 - 45873173875.2 26 Nov 2026 06:10PM UTC 91
72.18
GitHub Action Run
3 Unittests-windows-latest-pypy312 - 45873173875.3 26 Nov 2026 06:12PM UTC 91
66.71
GitHub Action Run
4 Unittests-windows-latest-py315 - 45873173875.4 26 Nov 2026 06:09PM UTC 91
67.38
GitHub Action Run
5 Unittests-macos-latest-pypy311 - 45873173875.5 26 Nov 2026 06:08PM UTC 91
68.28
GitHub Action Run
6 Unittests-macos-latest-py313 - 45873173875.6 26 Nov 2026 06:09PM UTC 91
69.82
GitHub Action Run
7 Unittests-ubuntu-latest-pypy311 - 45873173875.7 26 Nov 2026 06:08PM UTC 91
68.89
GitHub Action Run
8 Unittests-ubuntu-latest-pypy312 - 45873173875.8 26 Nov 2026 06:09PM UTC 91
68.84
GitHub Action Run
9 Unittests-macos-latest-py315 - 45873173875.9 26 Nov 2026 06:09PM UTC 91
68.02
GitHub Action Run
10 Unittests-ubuntu-latest-py312 - 45873173875.10 26 Nov 2026 06:08PM UTC 91
72.18
GitHub Action Run
11 Unittests-macos-latest-py314 - 45873173875.11 26 Nov 2026 06:07PM UTC 91
69.59
GitHub Action Run
12 Unittests-ubuntu-latest-py311 - 45873173875.12 26 Nov 2026 06:07PM UTC 91
72.18
GitHub Action Run
13 Unittests-macos-latest-pypy312 - 45873173875.13 26 Nov 2026 06:09PM UTC 91
68.26
GitHub Action Run
14 Unittests-ubuntu-latest-py314 - 45873173875.14 26 Nov 2026 06:07PM UTC 91
71.97
GitHub Action Run
15 Unittests-windows-latest-py313 - 45873173875.15 26 Nov 2026 06:08PM UTC 91
70.97
GitHub Action Run
16 Unittests-macos-latest-py312 - 45873173875.16 26 Nov 2026 06:07PM UTC 91
69.82
GitHub Action Run
17 Unittests-macos-latest-py311 - 45873173875.17 26 Nov 2026 06:07PM UTC 91
69.82
GitHub Action Run
18 Unittests-windows-latest-pypy311 - 45873173875.18 26 Nov 2026 06:08PM UTC 91
66.71
GitHub Action Run
19 Unittests-windows-latest-py311 - 45873173875.19 26 Nov 2026 06:07PM UTC 91
71.09
GitHub Action Run
20 Unittests-ubuntu-latest-py315 - 45873173875.20 26 Nov 2026 06:08PM UTC 91
70.4
GitHub Action Run
21 Unittests-windows-latest-py312 - 45873173875.21 26 Nov 2026 06:08PM UTC 91
71.09
GitHub Action Run
Source Files on build 45873173875
  • Tree
  • List 91
  • Changed 3
  • Source Changed 1
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #45873173875
  • 002a2445 on github
  • Prev Build on main (#45282022823)
  • Next Build on main (#45886672382)
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