Merge branch 'fix-docker-test'

This commit is contained in:
Kevin Morris 2022-09-11 15:57:08 -07:00
commit 6ad24fc950
No known key found for this signature in database
GPG key ID: F7E46DED420788F3
2 changed files with 3 additions and 4 deletions

View file

@ -18,6 +18,6 @@ pacman -Syu --noconfirm --noprogressbar \
php php-fpm memcached php-memcached python-pip pyalpm \
python-srcinfo curl libeatmydata cronie python-poetry \
python-poetry-core step-cli step-ca asciidoc \
python-virtualenv
python-virtualenv python-pre-commit
exec "$@"

View file

@ -21,8 +21,7 @@ rm -f /data/.coverage
cp -v .coverage /data/.coverage
chmod 666 /data/.coverage
# Run flake8 and isort checks.
# Run pre-commit checks
for dir in aurweb test migrations; do
flake8 --count $dir
isort --check-only $dir
pre-commit run -a
done