File: tox.ini

package info (click to toggle)
dnspython 1.16.0-1%2Bdeb10u1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,520 kB
  • sloc: python: 12,540; makefile: 62
file content (54 lines) | stat: -rw-r--r-- 629 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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
[tox]
envlist =
    py27,
    py34,
    py35,
    py36,
    py37,
    flake8,
    pylint,
    mypy,
    coverage

[testenv]

commands=
    python setup.py test

deps=

[testenv:py27]
deps =
    typing


[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