From a2473d31aed33b01e13e6dc2771c36ab5bd872f2 Mon Sep 17 00:00:00 2001 From: Joakim Soderlund Date: Tue, 1 Aug 2017 16:43:35 +0200 Subject: [PATCH] Run flake for each test environment --- tox.ini | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/tox.ini b/tox.ini index 80c2731..a2680f1 100644 --- a/tox.ini +++ b/tox.ini @@ -1,27 +1,25 @@ [tox] envlist = py36 - flake [travis] python = - 3.6: py36, flake + 3.6: py36 [testenv] -commands = py.test +commands = + py.test + flake8 fimfarchive tests deps = -rrequirements.txt pytest + flake8 [pytest] addopts = --ignore venv --ignore tests/test_fetchers.py -[testenv:flake] -commands = flake8 fimfarchive tests -deps = flake8 - [flake8] filenames = *.py exclude = fimfarchive/__init__.py