🪐 fix pydoc link in hooks/pre-commit

updated pydoc linter flags based on how it's used in .gitlab-ci.yml
This commit is contained in:
Michael Pöhn 2025-03-12 10:04:46 +01:00
parent 1521d5c659
commit 14e13b4f4a
No known key found for this signature in database
GPG key ID: 725F386C05529A5A

View file

@ -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