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

binbashar / leverage / 43661792741
78%

Build:
DEFAULT BRANCH: master
Ran 15 Nov 2026 01:11AM UTC
Jobs 1
Files 44
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

15 Nov 2026 01:10AM UTC coverage: 77.28% (+0.2%) from 77.112%
43661792741

push

github

web-flow
Enhancement | Type check leverage/ with mypy (gradual) in CI (#355)

* Enhancement | Fix the type errors mypy finds in leverage/

- Runner.run: overloads, int when interactive, (code, stdout, stderr) when not
- leverage.py: import each command from its module (leverage.modules.aws and
  the like are also submodules, so mypy saw modules instead of commands)
- get_option_value in _utils: a ConfigUpdater option value is Optional; a
  missing value now raises NoOptionError instead of AttributeError on None.
  Used by auth.py and aws.py
- Optional for arguments defaulting to None, renamed variables reused with
  another type, Group assert in _handle_subcommand
- Two commented ignores: TFRunner.run is always interactive, and the type of
  the `run` command can't be inferred through the leverage/__init__ import cycle

No behavior change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Enhancement | Type check leverage/ with mypy in the unit_tests CI job

mypy 1.19.1 (the last release that runs on and checks for Python 3.9) and
types-python-dateutil as dev dependencies, a gradual [tool.mypy] config
(annotated code only, no stubs for boto3/botocore/simple_term_menu) and a
step in the required unit_tests job, on 3.13 only. Coverage skips @overload
stubs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

714 of 1076 branches covered (66.36%)

Branch coverage included in aggregate %.

57 of 57 new or added lines in 10 files covered. (100.0%)

41 existing lines in 7 files now uncovered.

3286 of 4100 relevant lines covered (80.15%)

0.8 hits per line

Coverage Regressions

Lines Coverage ∆ File
14
82.89
0.09% path.py
13
60.98
0.32% modules/kubectl.py
5
82.5
1.94% _utils.py
4
86.67
2.05% leverage.py
2
93.49
0.02% modules/auth.py
2
97.32
0.0% modules/aws.py
1
94.29
0.0% modules/tfrunner.py
Jobs
ID Job ID Ran Files Coverage
1 43661792741.1 15 Nov 2026 01:11AM UTC 44
77.28
GitHub Action Run
Source Files on build 43661792741
  • Tree
  • List 44
  • Changed 19
  • Source Changed 10
  • Coverage Changed 18
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #43661792741
  • ebf6586c on github
  • Prev Build on master (#43648042692)
  • Next Build on master (#43721803239)
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