Commit 265dcad9 authored by Florent Jaillet's avatar Florent Jaillet

Use setup.cfg for coverage configuration

parent 07f0add8
Pipeline #1492 passed with stage
in 3 minutes and 54 seconds
[run]
branch = True
source = madarrays
include = */madarrays/*
omit =
*/setup.py
*/__init__.py
*/test_*
[report]
exclude_lines =
pragma: no cover
if self.debug:
if settings.DEBUG
raise AssertionError
raise NotImplementedError
if 0:
if __name__ == .__main__.:
if obj is None: return
if verbose > 0:
if self.verbose > 0:
if verbose > 1:
if self.verbose > 1:
pass
def __str__(self):
madarrays:1.1.1
madarrays:1.1.2
......@@ -51,4 +51,4 @@ from .mad_array import MadArray
from .waveform import Waveform
__all__ = ['MadArray', 'Waveform']
__version__ = "1.1.1"
__version__ = "1.1.2"
......@@ -5,3 +5,26 @@ addopts = --verbose
--cov-report=html
--cov=madarrays
--doctest-modules
[coverage:run]
branch = True
source = madarrays
include = */madarrays/*
omit = */tests/*
[coverage:report]
exclude_lines =
pragma: no cover
if self.debug:
if settings.DEBUG
raise AssertionError
raise NotImplementedError
if 0:
if __name__ == .__main__.:
if obj is None: return
if verbose > 0:
if self.verbose > 0:
if verbose > 1:
if self.verbose > 1:
pass
def __str__(self):
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment