From 9d3e10a206e2d613c53f47cb9d1e823c29c440bd Mon Sep 17 00:00:00 2001 From: Rebecca Dimock Date: Wed, 18 Dec 2024 13:09:38 -0600 Subject: [PATCH] Add alt text --- qiskit_addon_mpf/backends/quimb_layers/__init__.py | 2 ++ qiskit_addon_mpf/backends/tenpy_layers/__init__.py | 2 ++ tox.ini | 4 ++-- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/qiskit_addon_mpf/backends/quimb_layers/__init__.py b/qiskit_addon_mpf/backends/quimb_layers/__init__.py index a2aa193..b8dec2d 100644 --- a/qiskit_addon_mpf/backends/quimb_layers/__init__.py +++ b/qiskit_addon_mpf/backends/quimb_layers/__init__.py @@ -67,6 +67,7 @@ Suzuki-Trotter formula. .. plot:: + :alt: Output from the previous code. :context: close-figs :include-source: @@ -81,6 +82,7 @@ into a single circuit with barriers between them to ease the visualization). .. plot:: + :alt: Output from the previous code. :context: close-figs :include-source: diff --git a/qiskit_addon_mpf/backends/tenpy_layers/__init__.py b/qiskit_addon_mpf/backends/tenpy_layers/__init__.py index 385a98f..0b6225e 100644 --- a/qiskit_addon_mpf/backends/tenpy_layers/__init__.py +++ b/qiskit_addon_mpf/backends/tenpy_layers/__init__.py @@ -74,6 +74,7 @@ Suzuki-Trotter formula. .. plot:: + :alt: Output from the previous code. :context: close-figs :include-source: @@ -88,6 +89,7 @@ into a single circuit with barriers between them to ease the visualization). .. plot:: + :alt: Output from the previous code. :context: close-figs :include-source: diff --git a/tox.ini b/tox.ini index 104b302..91b4158 100644 --- a/tox.ini +++ b/tox.ini @@ -22,7 +22,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 basepython = python3.10 extras = @@ -34,7 +34,7 @@ commands = nbqa ruff docs/ mypy qiskit_addon_mpf/ pylint -rn qiskit_addon_mpf/ test/ - sphinx-alt-text-validator -f qiskit_addon_mpf -s qiskit_addon_mpf/backends/tenpy_layers/__init__.py qiskit_addon_mpf/backends/quimb_layers/__init__.py + sphinx-alt-text-validator -f qiskit_addon_mpf nbqa pylint -rn docs/ typos reno lint