diff --git a/pyproject.toml b/pyproject.toml
index b738dc847ff9705c5769673db7415f2eb9a75f4d..a608265427536bc9ec54525799e76bee43f85998 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -10,3 +10,6 @@
 
 [tool.black]
     line-length = 80
+
+[tool.coverage.run]
+    relative_files = true