borgmatic/tox.ini

33 lines
656 B
INI
Raw Normal View History

[tox]
envlist = py35,py36,py37
2019-05-14 21:19:56 +02:00
skip_missing_interpreters = True
skipsdist = True
minversion = 3.10.0
[testenv]
usedevelop = True
deps = -rtest_requirements.txt
whitelist_externals = sh
install_command =
sh scripts/pip {opts} {packages}
commands =
pytest
py36,py37: black --check .
isort --recursive --check-only --settings-path setup.cfg .
flake8 .
[testenv:black]
basepython = python3.7
commands =
black {posargs} .
[testenv:end-to-end]
deps = -rtest_requirements.txt
commands =
pytest {posargs} tests/end-to-end
[testenv:isort]
deps = {[testenv]deps}
commands =
isort {posargs:--recursive} --settings-path setup.cfg .