mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
fix: run pre-commit checks instead of flake8 and isort
Signed-off-by: Leonidas Spyropoulos <artafinde@archlinux.org>
This commit is contained in:
parent
6435c2b1f1
commit
310c469ba8
2 changed files with 3 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue