I hereby claim:
- I am soszilla on github.
- I am ejovrh2 (https://keybase.io/ejovrh2) on keybase.
- I have a public key ASAk2QbgOm7uj9fM1vu7hBjRYyw0iHpJJ32pKazx_cdQ4Qo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/bin/sh | |
FILES_PATTERN='\.(js|py)(\..+)?$' | |
FORBIDDEN='TODO|console.log|print' | |
git diff --cached --name-only | \ | |
grep -E $FILES_PATTERN | \ | |
GREP_COLOR='4;5;37;41' xargs egrep --color --with-filename -n $FORBIDDEN && echo "Found $FORBIDDEN references, commit canceled." && exit 1 | |
echo "pre-commit scan succeeded" | |
exit 0 |
I hereby claim:
To claim this, I am signing this object: