mirror of
https://github.com/python-kasa/python-kasa.git
synced 2024-12-22 19:23:34 +00:00
86f14642c8
* 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
22 lines
277 B
INI
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
|