forked from biocommons/biocommons.seqrepo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pytest.ini
42 lines (35 loc) · 1.01 KB
/
pytest.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
[pytest]
addopts =
-rsvx -m 'not extra'
--cov-config=pytest.ini
--doctest-modules --doctest-glob='*.rst' --doctest-glob='*.txt'
--cov=biocommons.seqrepo
doctest_optionflags =
NORMALIZE_WHITESPACE
IGNORE_EXCEPTION_DETAIL
ALLOW_UNICODE
ALLOW_BYTES
norecursedirs =
*.egg-info .eggs build cover _data dist etc examples misc prof sbin tmp venv
# show warnings
filterwarnings =
default
############################################################################
## COVERAGE
[run]
# enable branch coverage after we get default coverage up
# branch = True
omit=biocommons/seqrepo/py2compat/*
[report]
show_missing = True
exclude_lines =
# Have to re-enable the standard pragma
pragma: no cover
# Don't complain about missing debug-only code:
def __repr__
if self\.debug
# Don't complain if tests don't hit defensive assertion code:
raise AssertionError
raise NotImplementedError
# Don't complain if non-runnable code isn't run:
if __name__ == .__main__.: