Skip to content

Instantly share code, notes, and snippets.

@lachezar
Last active December 17, 2015 06:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lachezar/5568883 to your computer and use it in GitHub Desktop.
Save lachezar/5568883 to your computer and use it in GitHub Desktop.
Kick pylint on your python files and send notifications to osx notification center. It might be useful to get notified of nasty errors while you type your code...
kicker -e 'X="`pylint -r n **/*.py 2>/dev/null | tee /dev/tty | sed -n 2p`"; if [ -n "$X" ]; then curl -s -L -G --data-urlencode "message=$X" http://localhost:1337/fail; fi' **/*.py
@lachezar
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment