Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#!/bin/sh
# Show list of todos before commit
SOURCE_CODE_GLOB='*.py'
find -name $SOURCE_CODE_GLOB -exec grep TODO {} /dev/null \; | sed -e 's/\t//g;s/.py:/.py: \t/g;s/.py:.*#/\t/g'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.