mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-10-02 09:10:11 +02:00
gitlab-ci: use black from Debian for a stable code format
This avoids surprise code format CI breakage when black pushes new rules: https://gitlab.com/fdroid-bot/fdroidserver/-/jobs/3703868702
This commit is contained in:
parent
e1d0ff175f
commit
a27cf3d42d
@ -220,9 +220,10 @@ lint_format_safety_bandit_checks:
|
||||
|
||||
|
||||
black:
|
||||
image: python:slim
|
||||
image: debian:bookworm-slim
|
||||
<<: *apt-template
|
||||
script:
|
||||
- pip install black
|
||||
- apt-get install black
|
||||
- black --check --diff --color
|
||||
examples/fdroid_clean_repos.py
|
||||
examples/fdroid_extract_repo_pubkey.py
|
||||
|
Loading…
Reference in New Issue
Block a user