borgmatic/tox.ini
Luke Murphy 20b8b45aeb
Remove all configuration from Tox file
This puts tool configuration in their familiar and standard
locations and simplifies the Tox configuration to just laying
out the environments and factors.

This also allows users who do not want to deal with overhead of Tox (for
whatever reasons ...) to run pytest/black/etc. and have the same
behaviour.
2019-05-14 13:17:15 +02:00

23 lines
353 B
INI

[tox]
envlist = py3
skipsdist = True
minversion = 3.10.0
[testenv]
usedevelop = True
deps = -rtest_requirements.txt
whitelist_externals = sh
commands =
pytest
sh scripts/black
flake8 .
[testenv:black]
basepython = python3.7
commands =
black .
[testenv:end-to-end]
deps = -rtest_requirements.txt
commands =
pytest tests/end-to-end