qiskit-documentation/tox.ini

24 lines
507 B
INI

[tox]
min_version = 4.0
env_list = py311
skipsdist = true
[testenv]
deps =
-e scripts/nb-tester
-r scripts/nb-tester/requirements.txt
setenv = PYDEVD_DISABLE_FILE_VALIDATION=1
commands = test-docs-notebooks {posargs} --config-path scripts/config/notebook-testing.toml
[testenv:{lint,fix}]
deps = squeaky==0.7.0
commands =
lint: squeaky --check --no-advice {posargs:docs}
fix: squeaky {posargs:docs}
[testenv:nb-tester]
deps =
-e scripts/nb-tester
pytest
commands = pytest scripts/nb-tester