forked from python-bugzilla/python-bugzilla
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
38 lines (29 loc) · 898 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
[tox]
envlist = py34,py35,py36,py37,py38,py39,py310
[testenv]
deps =
-rrequirements.txt
-rtest-requirements.txt
commands =
pytest []
[pytest]
addopts = -q --tb=native tests/
[coverage:run]
source = bugzilla/
[coverage:report]
skip_covered = yes
exclude_lines =
# Have to re-enable the standard pragma
pragma: no cover
# Don't complain if tests don't hit defensive assertion code:
raise NotImplementedError
[pycodestyle]
# [E125] Continuation indent isn't different from next block
# [E128] Not indented for visual style
# [E129] visually indented line with same indent as next logical line
# [E301] Blank lines between function definitions
# [E303] Too many blank lines
# [E402] module level import not at top of file
# [E731] do not assign a lambda expression, use a def
# [W504] line break after binary operator
ignore=E125,E128,E129,E301,E303,E402,E731,W504