Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CI #101

Merged
merged 1 commit into from
May 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading