-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.cfg
84 lines (68 loc) · 1.33 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
[aliases]
test = pytest
[check]
metadata = 1
restructuredtext = 1
[clean]
build-base = .packaging/build
bdist-base = .packaging/dist
[build]
build-base = .packaging/build
[install]
optimize = 1
[bdist]
bdist-base = .packaging/dist
dist-dir = .packaging/release
[bdist_wheel]
bdist-dir = .packaging/dist
dist-dir = .packaging/release
[register]
;repository = https://pypi.python.org/pypi
strict = 1
[upload]
;repository = https://pypi.python.org/pypi
;sign = 1
;identity = ...
[isort]
line_length = 120
known_first_party =
marrow
web
cinje
multi_line_output = 4
balanced_wrapping = True
indent=' '
sections = FUTURE,STDLIB,THIRDPARTY,FIRSTPARTY,LOCALFOLDER
skip = setup.py
[tool:pytest]
addopts =
-l -r fEsxw
--flakes
--cov-report term-missing
--cov-report xml
--no-cov-on-fail
--cov marrow.mongo
--durations=5
--color=yes
--isort
test
flakes-ignore =
test/*.py UnusedImport
test/*/*.py UnusedImport ImportStarUsed
filterwarnings =
default
ignore::DeprecationWarning:isort.*
[wheel]
universal = 1
[coverage:report]
exclude_lines =
# Re-enable the standard pragma, since we override it.
pragma: no( |-)?cov(er)?
# Don't complain if non-runnable code isn't run:
if 0:
if False:
if __name__ == .__main__.:
[coverage:run]
omit =
marrow/mongo/model.py
marrow/mongo/util/logger.py