diff --git a/pyproject.toml b/pyproject.toml
index 4f8aefa9066f9060f458e2d322aed377829dabf2..07f862a255cd894a0bfdfc0372b705edbb37798d 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -55,3 +55,7 @@ documenation = "https://da.gitlab-pages.liu.se/B-ASIC/"
 skip-string-normalization = true
 preview = true
 line-length = 79
+exclude = [
+    "examples",
+    "test/test_gui"
+]