Run flake for each test environment

This commit is contained in:
Joakim Soderlund 2017-08-01 16:43:35 +02:00
parent 9e6d1b76c7
commit a2473d31ae

12
tox.ini
View file

@ -1,27 +1,25 @@
[tox] [tox]
envlist = envlist =
py36 py36
flake
[travis] [travis]
python = python =
3.6: py36, flake 3.6: py36
[testenv] [testenv]
commands = py.test commands =
py.test
flake8 fimfarchive tests
deps = deps =
-rrequirements.txt -rrequirements.txt
pytest pytest
flake8
[pytest] [pytest]
addopts = addopts =
--ignore venv --ignore venv
--ignore tests/test_fetchers.py --ignore tests/test_fetchers.py
[testenv:flake]
commands = flake8 fimfarchive tests
deps = flake8
[flake8] [flake8]
filenames = *.py filenames = *.py
exclude = fimfarchive/__init__.py exclude = fimfarchive/__init__.py