We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a8082cc commit 0b1723aCopy full SHA for 0b1723a
README.md
@@ -2,6 +2,9 @@
2
3
Check that looks for existing TODO's and commented out code in a repo
4
5
+Only checks .py and .md files for TODOs,
6
+and only .py for commented out code
7
+
8
TODO's are considered:
9
- `todo`
10
- `TODO`
entrypoint.sh
@@ -4,7 +4,7 @@
passed=1
-todos=$(egrep -rn "XXX|fillme|FILLME|xxx|TODO|todo|to-do|FIXME|fix-me|fixme|fix me|to do|FIX ME|TO DO" *)
+todos=$(egrep --include="*.py" --include="*.md" -rn "XXX|fillme|FILLME|xxx|TODO|todo|to-do|FIXME|fix-me|fixme|fix me|to do|FIX ME|TO DO" *)
case $? in
0) echo $todos && passed=0;;
*) echo "No TODO's found";;
0 commit comments