From 14e13b4f4a37afa38fcdf61cece362372fd4a19a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20P=C3=B6hn?= Date: Wed, 12 Mar 2025 10:04:46 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=AA=90=20fix=20pydoc=20link=20in=20hooks/?= =?UTF-8?q?pre-commit?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updated pydoc linter flags based on how it's used in .gitlab-ci.yml --- hooks/pre-commit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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