1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
|
[tox]
envlist = py{39,310,311,312,313,314}{,-ipython},lint,doc
skip_missing_interpreters = True
[gh-actions]
python =
3.9: py39, lint, doc
3.10: py310
3.11: py311
3.12: py312
3.13: py313
3.14: py314
[testenv]
allowlist_externals = make
deps =
coverage
ipython: ipython
pytest
commands = coverage run --source=snimpy -m pytest {posargs}
[testenv:lint]
basepython = python3
deps =
flake8
twine
interrogate
build
allowlist_externals = make
commands =
make lint
python -m build
twine check dist/*
[testenv:doc]
basepython = python3
changedir = docs
deps =
sphinx
sphinx-rtd-theme
allowlist_externals = make
commands =
make html READTHEDOCS=True
[coverage:run]
relative_files = True
|