-
Notifications
You must be signed in to change notification settings - Fork 46
/
.coveragerc
44 lines (41 loc) · 1.17 KB
/
.coveragerc
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
[run]
source = relstorage
omit =
relstorage/cache/tests/benchmarks.py
# Omit the main oracle adapter file since we don't test it at all
relstorage/adapters/oracle.py
# New in 5.0; required for the GHA coveralls submission.
# Perhaps this obsoletes the source section in [paths]?
# Probably not since we're now installing in non-editable mode.
relative_files = True
[report]
# Coverage is run on Linux under cPython 2 and 3,
# against MySQL and PostgreSQL, so
# exclude branches that are windows, pypy or oracle
# specific
exclude_lines =
pragma: no cover
def __repr__
raise AssertionError
raise NotImplementedError
raise Unsupported
if __name__ == .__main__.:
if PYPY:
if sys.platform == 'win32':
if mswindows:
if is_windows:
def oracle_
class CXOracle
class Oracle
[paths]
# Combine source and paths from the CI installs so they all get
# collapsed during combining. Otherwise, coveralls.io reports
# many different files (/lib/pythonX.Y/site-packages/gevent/...) and we don't
# get a good aggregate number.
source =
src/
*/lib/*/site-packages/
*/pypy*/site-packages/
# Local Variables:
# mode: conf
# End: