diff --git a/hooks/pre-commit b/hooks/pre-commit index 784cc9ee..c0859570 100755 --- a/hooks/pre-commit +++ b/hooks/pre-commit @@ -91,7 +91,7 @@ if [ "$PY_FILES $PY_TEST_FILES" != " " ]; then err "pyflakes tests failed!" fi # ignore vendored files - if ! $PYDOCSTYLE --match='(?!apksigcopier|looseversion).*\.py' $PY_FILES $PY_TEST_FILES; then + if ! $PYDOCSTYLE --match='(?!apksigcopier|looseversion|setup|test_).*\.py' $PY_FILES $PY_TEST_FILES; then err "pydocstyle tests failed!" fi fi