Skip to content

Commit d3fe418

Browse files
committed
.coveragerc: Provide basic configuration for coverage.
1 parent ca24f6e commit d3fe418

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.coveragerc

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
[run]
2+
branch = True
3+
erase = True
4+
package = bioformats
5+
[report]
6+
exclude_lines =
7+
# Ignore continue statement in code as it can't be detected as covered
8+
# due to an optimization by the Python interpreter. See coverage issue
9+
# ( https://bitbucket.org/ned/coveragepy/issue/198/continue-marked-as-not-covered )
10+
# and Python issue ( http://bugs.python.org/issue2506 ).
11+
continue
12+
13+
# Ignore coverage of code that requires the module to be executed.
14+
if __name__ == .__main__.:
15+
omit =
16+
*/python?.?/*
17+
*/site-packages/*
18+
*tests/*

0 commit comments

Comments
 (0)