From 4a93576e92611fe6d8db3e34d84f4212c9c0fd66 Mon Sep 17 00:00:00 2001 From: gryf Date: Thu, 31 Oct 2019 15:52:51 +0100 Subject: [PATCH] Stright up tox conf, added missing tests module --- tests/__init__.py | 0 tox.ini | 21 +++++++-------------- 2 files changed, 7 insertions(+), 14 deletions(-) create mode 100644 tests/__init__.py diff --git a/tests/__init__.py b/tests/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/tox.ini b/tox.ini index 83d454c..a09de76 100644 --- a/tox.ini +++ b/tox.ini @@ -1,18 +1,11 @@ [tox] -envlist = py36, py37, flake8 - -[travis] -python = - 3.7: py37 - 3.6: py36 - -[testenv:flake8] -basepython = python -deps = flake8 -commands = flake8 ferrit +envlist = py36,py37,flake8 [testenv] -setenv = - PYTHONPATH = {toxinidir} - +usedevelop=True commands = python setup.py test + +[testenv:flake8] +basepython = python3 +deps = flake8 +commands = flake8 ferrit tests