Configure tox

stable
Miguel Gonzalez 2018-11-09 17:42:56 +01:00 committed by Alex Hermida
parent 03bf1f0a9a
commit 6842a7bb21
2 changed files with 19 additions and 0 deletions

View File

@ -2,7 +2,10 @@
ignore = E41,E266
max-line-length = 120
exclude =
.cache,
.git,
.tox,
.venv,
*__pycache__*,
*tests*,
*scripts*,

16
tox.ini Normal file
View File

@ -0,0 +1,16 @@
[tox]
envlist = py36
skipsdist = True
[testenv]
deps =
pipenv
commands =
pipenv sync --dev
pipenv run pytest
[testenv:flake8]
deps = flake8
basepython = python3.6
commands = flake8 .