#!/bin/sh # # Git hook script to verify what is about to be committed. # Checks that the changes don't introduce new flake8 errors. git diff --unified=1 --cached HEAD -- '*py' | flake8 --diff