From dc2e60e9f2d2395cdc42a04ec20dac59105589e5 Mon Sep 17 00:00:00 2001
From: Florent Jaillet <florent.jaillet@lis-lab.fr>
Date: Wed, 14 Nov 2018 08:47:53 +0100
Subject: [PATCH] Use setup.cfg for coverage configuration

---
 .coveragerc      | 26 --------------------------
 VERSION          |  2 +-
 setup.cfg        | 23 +++++++++++++++++++++++
 yafe/__init__.py |  2 +-
 4 files changed, 25 insertions(+), 28 deletions(-)
 delete mode 100644 .coveragerc

diff --git a/.coveragerc b/.coveragerc
deleted file mode 100644
index c340dc3..0000000
--- a/.coveragerc
+++ /dev/null
@@ -1,26 +0,0 @@
-[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):
diff --git a/VERSION b/VERSION
index 2762236..2f7907b 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-yafe:1.0.1
+yafe:1.0.2
diff --git a/setup.cfg b/setup.cfg
index 846c799..14a393a 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -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):
diff --git a/yafe/__init__.py b/yafe/__init__.py
index 407f2c2..019f8e3 100644
--- a/yafe/__init__.py
+++ b/yafe/__init__.py
@@ -48,4 +48,4 @@
 from .base import Experiment
 
 __all__ = ['Experiment']
-__version__ = "1.0.1"
+__version__ = "1.0.2"
-- 
GitLab