Last active
October 1, 2016 17:06
-
-
Save bharadwaj-raju/58b5f890a9adad5385c73f189522da8e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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