diff --git a/tox.ini b/tox.ini index 2b2b23e..9955a26 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_sqd/ pylint -rn qiskit_addon_sqd/ test/ + sphinx-alt-text-validator -f qiskit_addon_sqd nbqa pylint -rn docs/ reno lint