python-kasa/tox.ini
Teemu R 86f14642c8 Refactor and drop py2 support (#49)
* move is_off property to SmartDevice, implement is_on for bulb and use it

* refactor by moving smartbulb and smartplug to their own classes

* drop python2 compatibility, make flake8 happy

* travis: remove 2.7, add 3.6
2017-04-14 14:24:58 +02:00

22 lines
277 B
INI

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