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

python-useful-helpers / exec-helpers / 40903400574
89%

Build:
DEFAULT BRANCH: master
Ran 29 Oct 2026 03:38PM UTC
Jobs 8
Files 19
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

29 Oct 2026 03:37PM UTC coverage: 67.537% (+14.0%) from 53.557%
40903400574

push

github

web-flow
Fix SFTP after close, harden SSH and Subprocess execution, enforce the lint baseline (#174)

* Format pyproject.toml with pyproject-fmt

Formatter output only, so the next change shows only real edits to it:

- Tables and keys are reordered and sorted by the tool.
- Lists of values are sorted where order does not matter.
- No value is added, removed or changed.

* Update static checkers and enforce the lint baseline

Raise the checker floors to the current releases and bring the project up to
the baseline rule set. ruff and pyproject-fmt revs in pre-commit match the
dependency groups; CI installs pylint and mypy from the same groups.

- Enable the D (pydocstyle) and PIE rules; fix the docstrings they report.
  Tests ignore only the missing-docstring rules D1.
- Fix ICN001 (datetime imported as dt), FURB107 and BLE001 (narrow noqa with
  a reason), pylint arguments-differ against Callable and a useless
  suppression.
- Suppress S602 on Subprocess.Popen: running a shell command line is the
  purpose of the class (approved by the maintainer).
- Add types-paramiko, types-psutil and types-pyyaml to the mypy group
  instead of --install-types; drop the psutil ignore_missing_imports.
- Enable mypy ignore-without-code; strict comes from [tool.mypy], not flags.
- Fix the "ommands" typo in the bandit tox env, so bandit now actually runs.
- Remove the unused [tool.isort], the wheel build requirement, the dangling
  pep257 tox env, and options that restate a default.

| what | from | to |
| --- | --- | --- |
| ruff | >=0.15.13 | >=0.17.3 |
| mypy | >=2.1 | >=2.4.1 |
| pylint | >=4.0.5 | >=4.1.3 |
| pyproject-fmt | >=2.21.2 | >=2.30.3 |
| prek | >=0.4.1 | >=0.5.7 |
| ruff-pre-commit rev | v0.15.13 | v0.17.3 |
| pyproject-fmt rev | v2.21.2 | v2.30.3 |
| CI pylint | >=3.0.0 | dependency group |

* Restore a closed SSH session before opening SFTP

SSHClient closes the paramiko client on the outermost context exit (and on
reconnect()), leaving it without a transport. ... (continued)

230 of 438 branches covered (52.51%)

Branch coverage included in aggregate %.

160 of 169 new or added lines in 10 files covered. (94.67%)

2 existing lines in 2 files now uncovered.

1347 of 1897 relevant lines covered (71.01%)

5.68 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
58.66
10.07% exec_helpers/_ssh_base.py
2
52.59
52.59% exec_helpers/async_api/subprocess.py
2
42.18
42.18% exec_helpers/subprocess.py
1
88.34
-3.01% exec_helpers/exec_result.py
1
87.5
-0.1% exec_helpers/ssh_auth.py

Coverage Regressions

Lines Coverage ∆ File
1
58.14
9.73% exec_helpers/api.py
1
49.69
49.69% exec_helpers/async_api/api.py
Jobs
ID Job ID Ran Files Coverage
1 run-3.11-windows-latest - 40903400574.1 29 Oct 2026 03:38PM UTC 19
67.41
GitHub Action Run
2 run-3.12-windows-latest - 40903400574.2 29 Oct 2026 03:38PM UTC 19
67.41
GitHub Action Run
3 run-3.13-ubuntu-latest - 40903400574.3 29 Oct 2026 03:38PM UTC 19
67.54
GitHub Action Run
4 run-3.14-ubuntu-latest - 40903400574.4 29 Oct 2026 03:38PM UTC 19
67.45
GitHub Action Run
5 run-3.11-ubuntu-latest - 40903400574.5 29 Oct 2026 03:38PM UTC 19
67.54
GitHub Action Run
6 run-3.12-ubuntu-latest - 40903400574.6 29 Oct 2026 03:38PM UTC 19
67.54
GitHub Action Run
7 run-3.14-windows-latest - 40903400574.7 29 Oct 2026 03:39PM UTC 19
67.32
GitHub Action Run
8 run-3.13-windows-latest - 40903400574.8 29 Oct 2026 03:39PM UTC 19
67.41
GitHub Action Run
Source Files on build 40903400574
  • Tree
  • List 19
  • Changed 16
  • Source Changed 12
  • Coverage Changed 15
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #40903400574
  • dc6220a4 on github
  • Prev Build on master (#29763112099)
  • Next Build on master (#40909550263)
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