23 lines
416 B
INI
23 lines
416 B
INI
[tox]
|
|
minversion = 1.4.2
|
|
envlist = linters
|
|
skipsdist = True
|
|
|
|
[testenv]
|
|
deps = -r{toxinidir}/requirements.txt
|
|
-r{toxinidir}/test-requirements.txt
|
|
|
|
[testenv:black]
|
|
install_command = pip install {opts} {packages}
|
|
commands =
|
|
black -v {toxinidir}
|
|
|
|
[testenv:linters]
|
|
install_command = pip install {opts} {packages}
|
|
commands =
|
|
black -v --check {toxinidir}
|
|
flake8 {posargs}
|
|
|
|
[testenv:venv]
|
|
commands = {posargs}
|