Skip to content

Commit 7357815

Browse files
authored
refactor: 🔨 find TODO items in all files (#347)
1 parent 97a590b commit 7357815

3 files changed

Lines changed: 13 additions & 7 deletions

File tree

.copier-answers.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Changes here will be overwritten by Copier; NEVER EDIT MANUALLY
2-
_commit: 0.9.0
2+
_commit: 0.10.1
33
_src_path: gh:seedcase-project/t-squared
44
for_seedcase: true
55
github_repo: template-python-package

justfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,13 @@ list-todos:
1818
grep -R -n \
1919
--exclude-dir=.quarto \
2020
--exclude-dir=template \
21+
--exclude-dir=.git \
22+
--exclude-dir=*_cache \
2123
--exclude-dir=_temp \
2224
--exclude-dir=_site \
2325
--exclude=justfile \
2426
--exclude=copier.yaml \
25-
"TODO" *
27+
"TODO" .
2628

2729
# Install the pre-commit hooks
2830
install-precommit:

template/justfile.jinja

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,15 @@ build-all: build-contributors build-website build-readme
2323
# List all TODO items in the repository
2424
list-todos:
2525
grep -R -n \
26-
--exclude="*.code-snippets" \
27-
--exclude-dir=.quarto \
28-
--exclude=justfile \
29-
--exclude=_site \
30-
"TODO" *
26+
--exclude-dir=.quarto \
27+
--exclude-dir=template \
28+
--exclude-dir=.git \
29+
--exclude-dir=*_cache \
30+
--exclude-dir=_temp \
31+
--exclude-dir=_site \
32+
--exclude=justfile \
33+
--exclude=copier.yaml \
34+
"TODO" .
3135

3236
# Install the pre-commit hooks
3337
install-precommit:

0 commit comments

Comments
 (0)