mirror of
https://github.com/python-kasa/python-kasa.git
synced 2024-12-22 19:23:34 +00:00
44424c1182
* Add ignores for working coverage/tox/IDE files. * Allow tox not to fail if python version is not available.
32 lines
471 B
INI
32 lines
471 B
INI
[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
|