mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-13 22:42:29 +03:00
🪐 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:
parent
1521d5c659
commit
14e13b4f4a
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue