Skip to content
Snippets Groups Projects
Commit dc2e60e9 authored by Florent Jaillet's avatar Florent Jaillet
Browse files

Use setup.cfg for coverage configuration

parent 30290e0a
No related branches found
No related tags found
No related merge requests found
Pipeline #1490 passed
[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 ...@@ -5,3 +5,26 @@ addopts = --verbose
--cov-report=html --cov-report=html
--cov=yafe --cov=yafe
--doctest-modules --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 @@ ...@@ -48,4 +48,4 @@
from .base import Experiment from .base import Experiment
__all__ = ['Experiment'] __all__ = ['Experiment']
__version__ = "1.0.1" __version__ = "1.0.2"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment