File: tox.ini

package info (click to toggle)
python-aioharmony 0.2.10-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 308 kB
  • sloc: python: 2,587; sh: 24; makefile: 13
file content (26 lines) | stat: -rw-r--r-- 620 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# content of: tox.ini , put in same dir as setup.py
[tox]
envlist = py35,py36,py37,pylint,lint
skip_missing_interpreters = True

[testenv:pylint]
basepython = python3
deps =
     -r{toxinidir}/test-requirements.txt
commands=pylint aioharmony

[testenv:lint]
basepython = python3
deps =
     -r{toxinidir}/test-requirements.txt
commands =
         flake8 aioharmony tests
         pydocstyle aioharmony tests

[testenv]
setenv =
    LANG=en_US.UTF-8
    PYTHONPATH = {toxinidir}
deps =
     -r{toxinidir}/test-requirements.txt
commands=py.test tests --timeout=30 --duration=10 --cov=aioharmony--cov-report html {posargs}