Skip to content

Instantly share code, notes, and snippets.

#!/bin/sh
# Git pre-commit hook
#####################
#
# - check for whitespace problems (trailing spaces, ...)
# - check for lines with 'FIXME'
# - running tests with Python 2.7, Python 3.4 and PyPy
# - running code style check (pep8) on modified files
# - designed for Windows, for Linux replace `> NUL` with `> /dev/null`