Add flake8 to tox, disable qa on pyHS100/__init__.py, fix py27 compatibility (#31)

This commit is contained in:
Teemu R
2017-01-17 14:38:44 +01:00
committed by GadgetReactor
parent 2d6376b597
commit 5dc94cd5c8
3 changed files with 14 additions and 3 deletions

13
tox.ini
View File

@@ -1,13 +1,22 @@
[tox]
envlist=py27,py34,py35
envlist=py27,py34,py35,py36,flake8
[tox:travis]
2.7 = py27
3.4 = py34
3.5 = py35
3.6 = py36
[testenv]
deps=
future
pytest
voluptuous
commands=py.test
commands=py.test pyHS100
[testenv:flake8]
deps=flake8
commands=flake8 pyHS100
[flake8]
exclude = .git,.tox,__pycache__,pyHS100/tests/fakes.py