Commit dc2e60e9 authored by Florent Jaillet's avatar Florent Jaillet

Use setup.cfg for coverage configuration

parent 30290e0a
Pipeline #1490 passed with stage
in 25 seconds
[run]
branch = True
source = pyexp
include = */pyexp/*
omit =
*/setup.py
*/__init__.py
*/test_*
*/script_for_generate_oar_script.py
[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):
yafe:1.0.1
yafe:1.0.2
......@@ -5,3 +5,26 @@ addopts = --verbose
--cov-report=html
--cov=yafe
--doctest-modules
[coverage:run]
branch = True
source = yafe
include = */yafe/*
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):
......@@ -48,4 +48,4 @@
from .base import Experiment
__all__ = ['Experiment']
__version__ = "1.0.1"
__version__ = "1.0.2"
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