Skip to content

Commit

Permalink
Add alt text to relevant images (#725) (#727)
Browse files Browse the repository at this point in the history
(cherry picked from commit 6691170)

Co-authored-by: Rebecca Dimock <[email protected]>
  • Loading branch information
mergify[bot] and beckykd authored Dec 23, 2024
1 parent 5e3bd52 commit 6034519
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions qiskit_addon_cutting/instructions/move.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ class Move(Instruction):
to each of the aforementioned cases:
.. plot::
:alt: Output from the previous code.
:include-source:
import numpy as np
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ commands =

[testenv:lint]
image-tester-commit = 7ae965ccf21c39e5170334ec7f4882756883860a
deps =
deps =
git+https://github.com/Qiskit/documentation.git@{[testenv:lint]image-tester-commit}\#egg=sphinx-alt-text-validator&subdirectory=scripts/image-tester
extras =
lint
Expand All @@ -32,7 +32,7 @@ commands =
mypy qiskit_addon_cutting/
reno lint
pylint -rn qiskit_addon_cutting/ test/
sphinx-alt-text-validator -f qiskit_addon_cutting -s qiskit_addon_cutting/instructions/move.py
sphinx-alt-text-validator -f qiskit_addon_cutting
nbqa pylint -rn docs/

[testenv:{,py-,py3-,py38-,py39-,py310-,py311-,py312-,py313-}notebook]
Expand Down

0 comments on commit 6034519

Please sign in to comment.