12345678910111213141516171819202122232425262728293031323334353637 |
- [tox]
- envlist = py36,py37,py38,py39
- 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 =
- pytest {posargs}
- py38,py39: black --check .
- isort --check-only --settings-path setup.cfg .
- flake8 borgmatic tests
- [testenv:black]
- commands =
- black {posargs} .
- [testenv:test]
- commands =
- pytest {posargs}
- [testenv:end-to-end]
- 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 .
|