python-kasa/tox.ini

32 lines
471 B
INI
Raw Normal View History

[tox]
envlist=py33,py34,py35,py36,flake8
skip_missing_interpreters = True
[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