forked from Robpol86/flake8-pydocstyle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
57 lines (47 loc) · 1.13 KB
/
tox.ini
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
55
56
57
[tox]
envlist = lint,py{34,27,26}
[testenv]
commands =
py.test --cov-append --cov-report term-missing --cov-report xml --cov flake8_pep257 --cov-config tox.ini \
{posargs:tests}
deps =
pytest-cov
py26: subprocess32
usedevelop = True
[testenv:py35x64]
basepython = C:\Python35-x64\python.exe
[testenv:py34x64]
basepython = C:\Python34-x64\python.exe
[testenv:py33x64]
basepython = C:\Python33-x64\python.exe
[testenv:py27x64]
basepython = C:\Python27-x64\python.exe
[testenv:py26x64]
basepython = C:\Python26-x64\python.exe
[testenv:lint]
commands =
coverage erase
python setup.py check --strict
python setup.py check --strict -m
python setup.py check --strict -s
flake8
pylint --rcfile=tox.ini setup.py flake8_pep257
deps =
coverage
flake8
flake8-import-order==0.5
pep8-naming
pylint
[flake8]
application-import-names = flake8_pep257,tests
exclude = .tox/*,build/*,docs/*,env/*,get-pip.py
ignore = D203
import-order-style = google
max-line-length = 120
statistics = True
[pylint]
max-line-length = 120
reports = no
ignore = .tox/*,build/*,docs/*,env/*,get-pip.py
[run]
branch = True