borgmatic/tox.ini
Dan Helfman 0da4b64838
All checks were successful
build / test (push) Successful in 9m14s
build / docs (push) Successful in 2m15s
Drop support for Python 3.9, which has been end-of-lifed. (Also hopefully fix the build.)
2025-11-01 23:16:13 -07:00

57 lines
934 B
INI

[tox]
env_list = py310,py311,py312,py313,py314
skip_missing_interpreters = true
package = editable
min_version = 4.0
[testenv]
runner = uv-venv-runner
deps =
-r test_requirements.txt
allowlist_externals =
find
sh
ruff
passenv = COVERAGE_FILE
commands =
pytest {posargs}
ruff check
ruff format --check
codespell
[testenv:test]
commands =
pytest {posargs}
[testenv:end-to-end]
package = editable
system_site_packages = true
deps =
-r test_requirements.txt
.
pass_env = COVERAGE_FILE
commands =
pytest {posargs} --no-cov tests/end-to-end
[testenv:lint]
deps = []
skip_install = true
commands =
ruff check --diff {posargs}
[testenv:lint-fix]
deps = []
skip_install = true
commands =
ruff check --fix {posargs}
[testenv:format]
deps = []
skip_install = true
commands =
ruff format {posargs}
[testenv:spell]
deps = {[testenv]deps}
commands =
codespell --write-changes