~aaron-whitehouse/duplicity/08-unadorned-strings

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
[tox]
envlist = py27,code
setenv = RUN_CODE_TESTS=0


[testenv:py27]
deps = -rrequirements.txt
commands =
    pytest -m "not nocapture" {posargs}
    pytest -s -m "nocapture" {posargs}


[testenv:code]
setenv = RUN_CODE_TESTS=1
deps = -rrequirements.txt
commands =
    pytest testing/test_code.py {posargs}


[testenv:docs]
deps = -rrequirements.txt
commands =
    sphinx-apidoc -o docs/ -e -f -F .


[pycodestyle]
# E722 do not use bare except
# E731 do not assign a lambda expression, use a def
# E741 ambiguous variable name
ignore = E722,E731,E741
max-line-length = 120


[pytest]
testpaths = testing/unit testing/functional