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

Qiskit / qiskit-ibm-runtime / 35591323301
91%
main: 91%

Build:
Build:
LAST BUILD BRANCH: putinsession
DEFAULT BRANCH: main
Ran 21 Sep 2026 10:59AM UTC
Jobs 11
Files 329
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

21 Sep 2026 10:55AM UTC coverage: 90.669%. Remained the same
35591323301

push

github

web-flow
Disable no_site_packages in mypy configuration (#3328)

### Summary

Update the mypy configuration in order to:
* take into account installed dependencies that provide type hints.
* revise specific rules for `test/`, so it steers us towards type
hinting auxiliary functions, and unify how imports are treated (now the
same as for the library)

### Details and comments

Some dependencies are still not taken into account (in
`[tool.mypy.overrides]`). With this PR, `mypy` will check the
dependencies that provided type stubs in the upstream package directly.
A number of the remaining ones also provide support through them in
`typeshed` or as other dedicated packages: I went with not including for
this round as it needs checking for versions compatibility and
accuracy/issues.

This also involves reverting the direction from #3156:
* with this change, `mypy` needs to have access to the dependencies
installed. With the current approach in `main`, it will run in an
isolated venv with just `mypy` installed - and no way for
`pre-commit.yml` to install the package and its dependencies.
* reverting to the "assume that `mypy` will be run in a venv managed by
the user" solves it, as users/CI control what to install before
invoking.
* `uv` users are likely to be able to replicate `pre-commit` behavior
via using `exec uv run pre-commit ...` when manually invoking, or
customizing their locally installed git hook
* the alternative to reverting is copy-pasting the dependencies into
`pre-commit.yml` - which is prone to keeping them out of sync

Related to #3295

### AI/LLM disclosure

- [x] I used the following tool to generate or modify code: Claude Opus
4.8 for some of the typing

1 of 1 new or added line in 1 file covered. (100.0%)

8629 of 9517 relevant lines covered (90.67%)

9.91 hits per line

Jobs
ID Job ID Ran Files Coverage
1 unit-tests_python3.12-windows-latest - 35591323301.1 21 Sep 2026 11:02AM UTC 329
88.98
GitHub Action Run
2 unit-tests_python3.13-windows-latest - 35591323301.2 21 Sep 2026 11:02AM UTC 329
88.98
GitHub Action Run
3 unit-tests_python3.10-windows-latest - 35591323301.3 21 Sep 2026 11:01AM UTC 329
88.98
GitHub Action Run
4 unit-tests_python3.12-macos-latest - 35591323301.4 21 Sep 2026 11:00AM UTC 329
90.66
GitHub Action Run
5 unit-tests_python3.11-windows-latest - 35591323301.5 21 Sep 2026 11:02AM UTC 329
88.98
GitHub Action Run
6 unit-tests_python3.11-macos-latest - 35591323301.6 21 Sep 2026 11:01AM UTC 329
90.66
GitHub Action Run
7 unit-tests_python3.13-macos-latest - 35591323301.7 21 Sep 2026 11:00AM UTC 329
90.66
GitHub Action Run
8 unit-tests_python3.10-ubuntu-latest - 35591323301.8 21 Sep 2026 10:59AM UTC 329
90.66
GitHub Action Run
9 unit-tests_python3.12-ubuntu-latest - 35591323301.9 21 Sep 2026 11:00AM UTC 329
90.66
GitHub Action Run
10 unit-tests_python3.13-ubuntu-latest - 35591323301.10 21 Sep 2026 11:00AM UTC 329
90.66
GitHub Action Run
11 unit-tests_python3.11-ubuntu-latest - 35591323301.11 21 Sep 2026 11:00AM UTC 329
90.66
GitHub Action Run
Source Files on build 35591323301
  • Tree
  • List 329
  • Changed 1
  • Source Changed 1
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #35591323301
  • de6ea6ad on github
  • Prev Build on gh-readonly-queue/main/pr-3343-a3dd43766f9f453312fc68473f2922cb3125e5ab (#35360540083)
  • Delete
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