Skip to content

Commit

Permalink
Merge pull request #101 from kevinsung/fix-ci
Browse files Browse the repository at this point in the history
Fix CI
  • Loading branch information
kevinsung authored May 9, 2024
2 parents 0430a39 + e9f44aa commit a7f810e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 11 deletions.
1 change: 0 additions & 1 deletion docs/apidocs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,4 @@ Qiskit Research API Reference
.. toctree::
:maxdepth: 1

mzm_generation
utils
2 changes: 0 additions & 2 deletions docs/apidocs/mzm_generation.rst

This file was deleted.

15 changes: 7 additions & 8 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tox]
minversion = 3.25
envlist = py{38,39,310}{,-notebook}, lint, mypy, format, coverage, docs
envlist = py{38,39,310}, lint, mypy, format, coverage, docs
isolated_build = True

[testenv]
Expand All @@ -9,31 +9,29 @@ extras =
commands =
pytest test/ {posargs}

[testenv:{py38-,py39-,py310-,}notebook]
extras =
dev
commands =
pytest --nbmake --nbmake-timeout=3000 {posargs} docs/

[testenv:lint]
base_python = 3.10
extras =
dev
commands =
pylint qiskit_research test

[testenv:mypy]
base_python = 3.10
extras =
dev
commands =
mypy --exclude=docs/_build .

[testenv:format]
base_python = 3.10
extras =
dev
commands =
black --check .

[testenv:coverage]
base_python = 3.10
extras =
dev
commands =
Expand All @@ -43,6 +41,7 @@ commands =
coverage3 report --fail-under=50

[testenv:docs]
base_python = 3.10
extras =
dev
commands =
Expand All @@ -51,4 +50,4 @@ commands =
sphinx-build -b html -W {posargs} docs/ docs/_build/html

[pytest]
addopts = --doctest-modules --ignore=docs/getting_started.ipynb
addopts = --doctest-modules

0 comments on commit a7f810e

Please sign in to comment.