Skip to content
Snippets Groups Projects

[master] pmb.helpers: Handle workdir version suffix from 2.3.x

Merged Luca Weiss requested to merge master-2.3.x-compat into master
All threads resolved!
Files
6
+ 7
3
@@ -8,15 +8,19 @@ if [ "$(id -u)" = 0 ]; then
exec su "${TESTUSER:-build}" -c "sh -e $0"
fi
DID_FAIL=0
set -x
# __init__.py with additional ignore:
# F401: imported, but not used
# shellcheck disable=SC2046
ruff check --ignore "F401" $(find . -not -path '*/venv/*' -name '__init__.py')
ruff check --ignore "F401" $(find . -not -path '*/venv/*' -name '__init__.py') || DID_FAIL=1
# Check all other files
ruff check --exclude=__init__.py .
ruff check --exclude=__init__.py . || DID_FAIL=1
# Check formatting
ruff format --diff
ruff format --diff || DID_FAIL=1
exit $DID_FAIL
Loading