diff --git a/pyproject.toml b/pyproject.toml
index f527ad6c0e785ca1fa02d00f9fb54f5ac9806578..89c4b5120b08a52634b524bd1dd59805629cb4d1 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -35,10 +35,12 @@ commands =
   # Lint python files using pylint
   bash -c '\
     pylint \
+      --disable=R0801 \
       $(find . -type f \\( \
         -name "*.py" \
         -not -path "./.*" \
         -not -path "./docs/theme/*" \
+        -not -path "./preview/*" \
         -not -path "./python_venv/*" \
         -not -path "./tmp/*" \
         -not -path "./site**/*"  \\) )'
@@ -67,7 +69,6 @@ commands =
         -not -path "./python_venv/*" \\) ) '
   bash -c 'DIRENV_ROOT="$(pwd)" ./tools/generate_source_docs.sh --dry-run'
 
-
 [testenv:build_doc]
 # Allow external commands
 allowlist_externals=