-
-
Notifications
You must be signed in to change notification settings - Fork 31
/
setup.cfg
62 lines (50 loc) · 1.05 KB
/
setup.cfg
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
[build_sphinx]
source-dir = docs/source
build-dir = _build/docs
all_files = 1
[upload_sphinx]
upload-dir = _build/docs/html
[check-manifest]
ignore =
*.cfg
.coveragerc
.editorconfig
.gitattributes
skeleton-tests/*
[isort]
profile = plone
[flake8]
ignore =
W503,
C812,
E501
T001
C813
C101
# E203, E266
exclude = bootstrap.py,docs,*.egg.,omelette
max-line-length = 88
max-complexity = 18
select = B,C,E,F,W,T4,B9
builtins = unicode,basestring
[tool:pytest]
addopts = -ra
testpaths =
package_tests/
norecursedirs = fixures
[coverage:run]
parallel = True
branch = True
source =
./bobtemplates
omit =
# Tests are classically not part of source code
# and should not be calculated into coverage sum
# on the other hand, the coverage tools do a handy job on highlighting
# code branches and tests that that did not get executed.
# Therefore we include tests into coverage analysis for the moment.
#tests/*.py
[coverage:report]
precision = 2
[coverage:html]
directory = _build/reports/coverage