7 lines
193 B
Text
7 lines
193 B
Text
|
#!/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
|