From 7227f6dd8a69ccec974fb32746e94a255f85b1c6 Mon Sep 17 00:00:00 2001 From: "Luke W. Johnston" Date: Fri, 5 Sep 2025 18:59:30 +0200 Subject: [PATCH] fix: :hammer: ignore other dirs and files when listing todos --- template/justfile.jinja | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/template/justfile.jinja b/template/justfile.jinja index ac39c56..21c5695 100644 --- a/template/justfile.jinja +++ b/template/justfile.jinja @@ -14,7 +14,12 @@ run-all: install-deps format-python _checks _tests _builds # List all TODO items in the repository list-todos: - grep -R -n --exclude="*.code-snippets" --exclude="justfile" "TODO" * + grep -R -n \ + --exclude="*.code-snippets" \ + --exclude-dir=.quarto \ + --exclude=justfile \ + --exclude=_site \ + "TODO" * # Install the pre-commit hooks install-precommit: