download looseversion to vendor

e1a5a176a9/src/looseversion/__init__.py
This commit is contained in:
Hans-Christoph Steiner 2023-12-08 09:16:58 +01:00
parent c4424a5e1a
commit a1a88d39cf
4 changed files with 251 additions and 5 deletions

View file

@ -90,7 +90,8 @@ if [ "$PY_FILES $PY_TEST_FILES" != " " ]; then
if ! $PYFLAKES $PY_FILES $PY_TEST_FILES; then
err "pyflakes tests failed!"
fi
if ! $PYDOCSTYLE $PY_FILES $PY_TEST_FILES; then
# ignore vendored files
if ! $PYDOCSTYLE --match='(?!apksigcopier|looseversion).*\.py' $PY_FILES $PY_TEST_FILES; then
err "pydocstyle tests failed!"
fi
fi