Skip to content

Commit 9311d46

Browse files
authored
fix: 🔨 ignore other dirs and files when listing todos (#200)
# Description These are not necessary to list TODOs in. Needs a quick review. ## Checklist - [x] Ran `just run-all`
1 parent 4695e1d commit 9311d46

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

template/justfile.jinja

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,12 @@ run-all: install-deps format-python _checks _tests _builds
1414

1515
# List all TODO items in the repository
1616
list-todos:
17-
grep -R -n --exclude="*.code-snippets" --exclude="justfile" "TODO" *
17+
grep -R -n \
18+
--exclude="*.code-snippets" \
19+
--exclude-dir=.quarto \
20+
--exclude=justfile \
21+
--exclude=_site \
22+
"TODO" *
1823

1924
# Install the pre-commit hooks
2025
install-precommit:

0 commit comments

Comments
 (0)