summaryrefslogtreecommitdiff
path: root/.coveragerc
diff options
context:
space:
mode:
authorJan Willhaus <mail@janwillhaus.de>2019-05-15 21:59:22 +0200
committerJan Willhaus <mail@janwillhaus.de>2019-05-18 19:27:25 +0200
commita8535d5d9e7896ebc4d5ca6276f27bc8279d975a (patch)
treed6bffbdf321f36a1322c9c5033be12e06be3188d /.coveragerc
parente5e16728bba97f0b84830765b8fb3340059f305e (diff)
downloadwarlock-a8535d5d9e7896ebc4d5ca6276f27bc8279d975a.tar.gz
Update CI testing environment
Diffstat (limited to '.coveragerc')
-rw-r--r--.coveragerc19
1 files changed, 19 insertions, 0 deletions
diff --git a/.coveragerc b/.coveragerc
new file mode 100644
index 0000000..1b53185
--- /dev/null
+++ b/.coveragerc
@@ -0,0 +1,19 @@
+[run]
+source =
+ warlock
+omit =
+ test/*
+ venv/*
+
+[report]
+# Regexes for lines to exclude from consideration
+exclude_lines =
+ # Have to re-enable the standard pragma
+ pragma: no cover
+
+ # Don't complain if tests don't hit defensive assertion code:
+ raise AssertionError
+ raise NotImplementedError
+
+ # Don't complain if non-runnable code isn't run:
+ if __name__ == .__main__.: \ No newline at end of file