blob: 6417f2d9b67d1ffb1620865074e30682dd1a95b7 (
plain)
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
[tox]
envlist =
py36,
py37,
flake8,
pylint,
mypy,
coverage
[testenv]
commands=
python setup.py test
deps=
[testenv:flake8]
commands =
pip install flake8
flake8 dns
[testenv:pylint]
commands =
pip install pylint
pylint dns
[testenv:mypy]
commands =
pip install mypy
mypy examples tests
[testenv:coverage]
basepython = python2
deps =
coverage
commands =
python setup.py install
coverage run --rcfile=.coverage.ini setup.py test
coverage report
[pep8]
show-pep8 = True
show-source = True
|