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:
Hans-Christoph Steiner 2023-02-02 14:44:54 +01:00
parent e1d0ff175f
commit a27cf3d42d
1 changed files with 3 additions and 2 deletions

View File

@ -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