aboutsummaryrefslogtreecommitdiffstats
path: root/pyproject.toml
diff options
context:
space:
mode:
Diffstat (limited to 'pyproject.toml')
-rw-r--r--pyproject.toml16
1 files changed, 16 insertions, 0 deletions
diff --git a/pyproject.toml b/pyproject.toml
index da921bb..09b69ac 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -42,3 +42,19 @@ snekbox = "snekbox.__main__:main"
[tool.setuptools]
packages = ["snekbox"]
+
+[tool.coverage.report]
+exclude_lines = [
+ "pragma: no cover",
+ "if DEBUG"
+]
+
+[tool.coverage.run]
+branch = true
+data_file = "${COVERAGE_DATAFILE-.coverage}"
+include = ["snekbox/*"]
+omit = [
+ "snekbox/api/app.py",
+ "snekbox/config_pb2.py"
+]
+relative_files = true