Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arch Linux
aurweb
Commits
310c469b
Verified
Commit
310c469b
authored
Sep 05, 2022
by
Leonidas Spyropoulos
Browse files
fix: run pre-commit checks instead of flake8 and isort
Signed-off-by:
Leonidas Spyropoulos
<
artafinde@archlinux.org
>
parent
6435c2b1
Changes
2
Hide whitespace changes
Inline
Side-by-side
docker/scripts/install-deps.sh
View file @
310c469b
...
...
@@ -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
"
$@
"
docker/scripts/run-tests.sh
View file @
310c469b
...
...
@@ -21,8 +21,7 @@ rm -f /data/.coverage
cp
-v
.coverage /data/.coverage
chmod
666 /data/.coverage
# Run
flake8 and isor
t checks
.
# Run
pre-commi
t checks
for
dir
in
aurweb
test
migrations
;
do
flake8
--count
$dir
isort
--check-only
$dir
pre-commit run
-a
done
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment