diff --git a/dev/hooks/pre-commit b/dev/hooks/pre-commit index b7c0883..576e510 100755 --- a/dev/hooks/pre-commit +++ b/dev/hooks/pre-commit @@ -16,7 +16,7 @@ fi # Run style checker MAX_VIOLATIONS=23 echo "Checking style..." -pycodestyle sbol2 test > style.txt +pycodestyle sbol2 test examples > style.txt result=$(cat style.txt | wc -l) if [ "$result" -gt $MAX_VIOLATIONS ]; then cat <