Browse code

exclude abstract properties from coverage

Anton Akhmerov authored on 19/01/2017 22:15:00
Showing 1 changed files
... ...
@@ -10,3 +10,4 @@ branch = True
10 10
 exclude_lines =
11 11
     skip coverage
12 12
     @abc.abstractmethod
13
+    @abc.abstractproperty
Browse code

improve coverage configuration

Anton Akhmerov authored on 05/01/2017 15:22:29
Showing 1 changed files
... ...
@@ -1,3 +1,12 @@
1 1
 [run]
2 2
 plugins = Cython.Coverage
3
-omit = */tests/*
3
+omit =
4
+     */tests/*
5
+     kwant/graph/dissection.py
6
+     kwant/_kwant_version.py
7
+     */__init__.py
8
+branch = True
9
+[report]
10
+exclude_lines =
11
+    skip coverage
12
+    @abc.abstractmethod
Browse code

enable coverage reports for cython modules

Joseph Weston authored on 25/07/2016 17:20:14
Showing 1 changed files
... ...
@@ -1,2 +1,3 @@
1 1
 [run]
2
+plugins = Cython.Coverage
2 3
 omit = */tests/*
Browse code

exclude tests from coverage, reduce coverage by 5%

Anton Akhmerov authored on 06/06/2016 17:55:05
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,2 @@
1
+[run]
2
+omit = */tests/*