-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
44 lines (37 loc) · 830 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
42
43
44
[testenv]
deps =
-rrequirements.txt
-rrequirements_tools.txt
[pycodestyle]
max-line-length = 100
statistics = True
ignore = W503,W291
[pep8]
# codeclimate is using an old version of pycodestyle
max-line-length = 100
ignore = W503
[pytest]
addopts = --cov=PyLeihe --cov-report term --cov-report html --cov-report xml -v -r A --junitxml=pjunit.xml
#addopts = --cov=PyLeihe
junit_duration_report = call
junit_family = xunit2
junit_logging = system-out
junit_suite_name = PyLeihe
[coverage:run]
branch = True
source = PyLeihe
concurrency = multiprocessing
[coverage:report]
exclude_lines =
if self.debug:
pragma: no cover
raise NotImplementedError
if __name__ == .__main__.:
ignore_errors = True
omit =
tests/*
precision = 2
[coverage:html]
directory = htmlcov
[coverage:xml]
output = coverage.xml