Verified Commit 310c469b authored by Leonidas Spyropoulos's avatar Leonidas Spyropoulos
Browse files

fix: run pre-commit checks instead of flake8 and isort



Signed-off-by: Leonidas Spyropoulos's avatarLeonidas Spyropoulos <artafinde@archlinux.org>
parent 6435c2b1
......@@ -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 "$@"
......@@ -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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment