borgmatic/tox.ini

46 lines
838 B
INI
Raw Normal View History

[tox]
2023-03-16 21:29:37 +01:00
envlist = py37,py38,py39,py310,py311
2019-05-14 21:19:56 +02:00
skip_missing_interpreters = True
skipsdist = True
minversion = 3.14.1
[testenv]
usedevelop = True
deps = -rtest_requirements.txt
whitelist_externals =
find
sh
passenv = COVERAGE_FILE
commands =
2019-05-19 23:53:32 +02:00
pytest {posargs}
2023-03-16 21:29:37 +01:00
py38,py39,py310,py311: black --check .
isort --check-only --settings-path setup.cfg .
flake8 borgmatic tests
2023-04-01 20:03:59 +02:00
codespell
[testenv:black]
commands =
black {posargs} .
2019-05-19 13:07:18 +02:00
[testenv:test]
commands =
pytest {posargs}
[testenv:end-to-end]
usedevelop = False
deps = -rtest_requirements.txt
.
passenv = COVERAGE_FILE
commands =
pytest {posargs} --no-cov tests/end-to-end
[testenv:isort]
deps = {[testenv]deps}
commands =
isort --settings-path setup.cfg .
2023-04-01 20:03:59 +02:00
[testenv:codespell]
deps = {[testenv]deps}
commands =
codespell --write-changes