mirror of
https://github.com/python-kasa/python-kasa.git
synced 2024-12-22 19:23:34 +00:00
af90a36153
* add typing hints to make it easier for 3rd party developers to use the library * remove unused devicetype enum to support python3.3 * add python 3.3 to travis and tox, install typing module in setup.py
31 lines
438 B
INI
31 lines
438 B
INI
[tox]
|
|
envlist=py33,py34,py35,py36,flake8
|
|
|
|
[tox:travis]
|
|
2.7 = py27
|
|
3.3 = py34
|
|
3.4 = py34
|
|
3.5 = py35
|
|
3.6 = py36
|
|
|
|
[testenv]
|
|
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH
|
|
deps=
|
|
pytest
|
|
pytest-cov
|
|
voluptuous
|
|
typing
|
|
commands=
|
|
py.test --cov pyHS100
|
|
|
|
[testenv:flake8]
|
|
deps=flake8
|
|
commands=flake8 pyHS100
|
|
|
|
[testenv:typing]
|
|
deps=mypy
|
|
commands=mypy --silent-imports pyHS100
|
|
|
|
[flake8]
|
|
exclude = .git,.tox,__pycache__,pyHS100/tests/fakes.py
|