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]
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