diff --git a/tox.ini b/tox.ini index 1620c18..104b302 100644 --- a/tox.ini +++ b/tox.ini @@ -21,6 +21,9 @@ commands = nbqa ruff --fix docs/ [testenv:lint] +image-tester-commit = 7ae965ccf21c39e5170334ec7f4882756883860a +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 = lint @@ -31,6 +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 nbqa pylint -rn docs/ typos reno lint