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

Qiskit / qiskit / 22311005638
88%

Build:
DEFAULT BRANCH: main
Ran 23 Feb 2026 03:38PM UTC
Jobs 1
Files 898
Run time 3min
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

23 Feb 2026 02:17PM UTC coverage: 87.844% (+0.001%) from 87.843%
22311005638

push

github

web-flow
Pivot to using ruff for all linting (#15603)

* Pivot to using ruff for all linting

This commit switches us to fully using ruff for all the linting in CI
and locally. The primary motivation for this change is to improve
productivity because ruff is signficantly faster. Pylint is incredibly
slow in general, but compared to ruff especially so. For example, on my
laptop ruff takes 0.04 seconds to run on the qiskit/ subdirectory (after
clearing the cache, with the cache populated it takes 0.025 sec) of the
source tree while running pylint on the same path took 70 sec. This leads
to people skipping lint locally and causes churn in CI becaus.

We had started to experimenting with ruff in the past and
used it for a some small set of rules but were still using pylint for
the bulk of the linting in the repo. The concern at the time was a loss
of lint coverage or a lot of code churn caused by migrating to a new tool.
Specifically pylint does more type inference and checking that ruff
doesn't. However since we started the experiment one major change in
qiskit is how much work is happening in rust now vs Python. At this
point any loss in lint coverage is unlikely to cause a significant
problem in practice and we'll make real productivity gains by making
this change.

* Remove out of date comment

* Update makefile

* Enable more rules

* Revert lambda autofixes

* Fix new rules

* Add bandit rules

* Enable Ruff native rules

* Remove pylint disable comments

* Enable docstring rules

This commit adds the docstring rules on the repo. This involves a few
more changes than previous commits because there are a lot of formatting
consistency rules that needed to be auto-applied. The checking also
found several instances where there was missing documentation that
should have been included.

* Add categories from old ruff config

* Fix from rebase

* Add flake8-raise rule

* Add flake8-pie rules

* Add implicit namespace rules

* Fix deprecation decorator error on impo... (continued)

624 of 677 new or added lines in 198 files covered. (92.17%)

15 existing lines in 7 files now uncovered.

100181 of 114044 relevant lines covered (87.84%)

1154495.57 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
95.92
0.0% qiskit/__init__.py
1
22.58
0.0% qiskit/circuit/equivalence.py
1
92.45
0.0% qiskit/circuit/library/arithmetic/linear_amplitude_function.py
1
77.61
0.0% qiskit/dagcircuit/dagdepnode.py
1
57.29
0.0% qiskit/qpy/binary_io/circuits.py
1
94.36
0.0% qiskit/quantum_info/operators/operator.py
1
87.5
0.0% qiskit/quantum_info/states/densitymatrix.py
1
90.27
0.0% qiskit/quantum_info/states/statevector.py
1
21.0
0.0% qiskit/synthesis/unitary/qsd.py
1
58.57
0.0% qiskit/transpiler/passes/optimization/template_matching/template_matching.py
1
28.24
0.0% qiskit/transpiler/passes/scheduling/alignments/reschedule.py
1
91.93
0.0% qiskit/transpiler/passes/scheduling/padding/dynamical_decoupling.py
1
82.5
0.0% qiskit/version.py
1
48.03
-0.12% qiskit/visualization/circuit/matplotlib.py
1
73.33
0.0% qiskit/visualization/dag/dagstyle.py
1
0.0
0.0% qiskit/visualization/timeline/plotters/matplotlib.py
2
97.14
0.0% qiskit/circuit/_add_control.py
2
90.67
-1.23% qiskit/circuit/_utils.py
2
94.84
-0.03% qiskit/circuit/library/arithmetic/weighted_adder.py
2
77.14
0.0% qiskit/quantum_info/operators/mixins/tolerances.py
2
93.33
0.0% qiskit/synthesis/arithmetic/comparators/compare_2s.py
2
94.52
0.0% qiskit/synthesis/arithmetic/weighted_sum.py
2
97.32
-0.88% qiskit/transpiler/passes/optimization/hoare_opt.py
2
94.48
0.0% qiskit/transpiler/target.py
2
77.45
0.0% qiskit/visualization/circuit/latex.py
3
94.17
-0.03% qiskit/visualization/circuit/_utils.py
3
57.3
-0.08% qiskit/visualization/state_visualization.py
4
85.22
0.0% qiskit/result/result.py
4
6.54
-0.36% qiskit/visualization/gate_map.py
5
82.24
0.0% qiskit/circuit/library/pauli_evolution.py

Uncovered Existing Lines

Lines Coverage ∆ File
1
19.05
0.0% qiskit/qpy/binary_io/schedules.py
1
21.0
0.0% qiskit/synthesis/unitary/qsd.py
1
94.17
-0.03% qiskit/visualization/circuit/_utils.py
1
0.0
0.0% qiskit/visualization/timeline/plotters/matplotlib.py
3
78.22
0.0% qiskit/quantum_info/operators/symplectic/clifford_circuits.py
4
73.65
-0.12% crates/circuit/src/parameter/symbol_expr.rs
4
92.03
0.26% crates/qasm2/src/lex.rs
Jobs
ID Job ID Ran Files Coverage
1 22311005638.1 23 Feb 2026 03:38PM UTC 898
87.84
GitHub Action Run
Source Files on build 22311005638
  • Tree
  • List 898
  • Changed 377
  • Source Changed 375
  • Coverage Changed 265
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #22311005638
  • e81a3b31 on github
  • Prev Build on gh-readonly-queue/main/pr-15716-3003d6608350c2a14f4489ade5d2c285e5bb2c1c (#22309449606)
  • Next Build on main (#22314150346)
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