diff --git a/pyproject.toml b/pyproject.toml
index 49911a2c1..ccada4ccd 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -172,8 +172,5 @@ quote-style = 'single'
 typeCheckingMode = 'strict'
 reportUnnecessaryTypeIgnoreComment = true
 reportMissingTypeStubs = false
-exclude = [
-    'src/packages/logfire/docs/**/*.py',
-    'src/packages/logfire/site/**/*.py',
-]
+exclude = ['docs/**/*.py', 'site/**/*.py']
 venvPath = '.venv'