forked from duecredit/duecredit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
35 lines (28 loc) · 848 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
[tox]
envlist = py27,py33,py34,py35
#,flake8
[testenv]
commands = py.test
deps = -r{toxinidir}/requirements.txt
[testenv:cover]
commands = coverage run --source duecredit -m py.test
[testenv:flake8]
commands = flake8 {posargs}
[testenv:venv]
commands = {posargs}
[flake8]
#show-source = True
# E265 = comment blocks like @{ section, which it can't handle
# E266 = too many leading '#' for block comment
# E731 = do not assign a lambda expression, use a def
# W293 = Blank line contains whitespace
#ignore = E265,W293,E266,E731
max-line-length = 120
include = duecredit
exclude = .tox,.venv,venv-debug,build,dist,doc,git/ext/
[pytest]
addopts = --tb=short --durations=10
filterwarnings =
# TODO: review/address all warnings
# error
ignore:--include is ignored because --source is set (include-ignored):DeprecationWarning:coverage