-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.cfg
63 lines (50 loc) · 1.08 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
63
[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
[isort]
# for details see
# http://docs.plone.org/develop/styleguide/python.html#grouping-and-sorting
force_alphabetical_sort = True
force_single_line = True
lines_after_imports = 2
line_length = 200
not_skip =
__init__.py
skip =
[flake8]
exclude =
ignore =
T001
S101
C812
P001
Q000
[tool:pytest]
addopts = -ra
testpaths =
package-tests/
norecursedirs = fixures
isort_ignore =
[coverage:run]
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