-
Notifications
You must be signed in to change notification settings - Fork 35
/
pytest.ini
53 lines (42 loc) · 1.18 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
42
43
44
45
46
47
48
49
50
51
52
[pytest]
addopts =
-rsvx -m 'not extra'
--cov-config=pytest.ini --cov=biocommons.seqrepo --cov-report term-missing
--doctest-modules --doctest-glob='*.rst' --doctest-glob='*.txt'
--strict-markers
doctest_optionflags =
ALLOW_BYTES
ALLOW_UNICODE
ELLIPSIS
IGNORE_EXCEPTION_DETAIL
NORMALIZE_WHITESPACE
norecursedirs =
*.egg-info .eggs build cover _data dist etc examples misc prof sbin tmp venv
testpaths = src tests
# show warnings
filterwarnings =
default
markers =
network
vcr
############################################################################
## COVERAGE
[run]
# enable branch coverage after we get default coverage up
# branch = True
# don't know how to easily test the CLI. Any takers?
omit =
src/biocommons/seqrepo/cli.py
[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__.: