Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/pip/ruff-0.8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
mrossinek committed Dec 19, 2024
2 parents 35e0fef + ed55040 commit ee8510b
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
fetch-depth: 0
- uses: actions/setup-python@v5
with:
python-version: '3.9'
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down
2 changes: 2 additions & 0 deletions qiskit_addon_mpf/backends/quimb_layers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@
Suzuki-Trotter formula.
.. plot::
:alt: Output from the previous code.
:context: close-figs
:include-source:
Expand All @@ -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:
Expand Down
2 changes: 2 additions & 0 deletions qiskit_addon_mpf/backends/tenpy_layers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@
Suzuki-Trotter formula.
.. plot::
:alt: Output from the previous code.
:context: close-figs
:include-source:
Expand All @@ -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:
Expand Down
4 changes: 4 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
nbqa pylint -rn docs/
typos
reno lint
Expand Down

0 comments on commit ee8510b

Please sign in to comment.