Explorar el Código

pkg: add codecov

Mikael Koli hace 4 años
padre
commit
693e185ff1
Se han modificado 1 ficheros con 29 adiciones y 0 borrados
  1. 29 0
      .coveragerc

+ 29 - 0
.coveragerc

@@ -0,0 +1,29 @@
+[run]
+source = redmail
+branch = False
+omit = 
+    test/*
+    _version.py
+
+data_file = cov_data/.coverage
+
+[report]
+
+omit = 
+    redmail/test/*
+    redmail/_version.py
+
+# Regexes for lines to exclude from consideration
+exclude_lines =
+    pragma: no cover
+
+    # Don't complain about abstract methods, they aren't run:
+    @(abc\.)?abstractmethod
+
+    # Ignore type checking imports
+    if TYPE_CHECKING
+
+ignore_errors = True
+
+[html]
+directory = htmlcov