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
This commit is contained in:
Teemu R
2017-04-14 14:24:58 +02:00
committed by GitHub
parent c9662fcb7b
commit 86f14642c8
13 changed files with 497 additions and 497 deletions

View File

@@ -1,5 +1,5 @@
[tox]
envlist=py27,py34,py35,py36,flake8
envlist=py34,py35,py36,flake8
[tox:travis]
2.7 = py27
@@ -9,7 +9,6 @@ envlist=py27,py34,py35,py36,flake8
[testenv]
deps=
future
pytest
voluptuous
commands=py.test pyHS100