-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtox.ini
41 lines (35 loc) · 871 Bytes
/
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
[tox]
envlist = py34, py35, py36, flake8
[travis]
python =
3.6: py36
3.5: py35
3.4: py34
[testenv:flake8]
basepython = python
deps =
flake8
pydocstyle
typing
commands =
flake8 duplicity_backup_s3
pydocstyle ducplicity_backup_s3
[testenv]
setenv =
PYTHONPATH = {toxinidir}
commands = python setup.py test
# test settings
[flake8]
statistics = True
max-line-length = 88
ignore = E203, E266, E501, W503, F403, F401
max-complexity = 18
select = B,C,E,F,W,T4,B9
[pydocstyle]
ignore = D100,D105,D203,D212,D213
#from: http://www.pydocstyle.org/en/latest/error_codes.html
#D100 Missing docstring in public module
#D105 Missing docstring in magic method
#D203 1 blank line required before class docstring
#D212 Multi-line docstring summary should start at the first line
#D213 Multi-line docstring summary should start at the second line