onaplogging: Docstrings, refactor, type hinting
[logging-analytics.git] / pylog / tox.ini
1 [tox]
2 envlist =
3     py27
4     py36
5     py37
6     py38
7     pep8
8     cover
9 skipsdist = true
10 skip_missing_interpreters = true
11
12 [tox:jenkins]
13 downloadcache = ~/cache/pip
14
15 [testenv]
16 deps = -r{toxinidir}/test_requirements.txt
17         coverage
18         pytest-cov
19 setenv = PYTHONPATH={toxinidir}/
20 commands = pytest
21
22 [flake8]
23 ignore = E271, E125, E128, E127
24
25 [testenv:pep8]
26 basepython = python3
27 deps=flake8
28 commands=flake8 onaplogging
29
30 [testenv:cover]
31 basepython = python3
32 commands = py.test --cov-report term-missing --cov onaplogging