forked from cmanaha/python-elasticsearch-logger
-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathtox.ini
More file actions
30 lines (28 loc) · 646 Bytes
/
tox.ini
File metadata and controls
30 lines (28 loc) · 646 Bytes
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
27
28
29
30
[tox]
envlist = {py27,py36}
[testenv]
passenv =
TEST_ES_SERVER
TEST_ES_PORT
basepython =
py27: python2.7
py38: python3.8
deps =
check-manifest
docutils
{py27}: readme_renderer
pylint
flake8
pytest
coverage
commands =
python setup.py check -m -r -s
flake8 --max-line-length=120 elasticecslogging/
coverage erase
coverage run -a --source=./elasticecslogging --branch tests/test_elasticecshandler.py
coverage run -a --source=./elasticecslogging --branch tests/test_elasticecsserializer.py
coverage xml -i
coverage html
[flake8]
exclude = .tox,*.egg,build,data
select = E,W,F