1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-19 21:30:10 +01: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:
Hans-Christoph Steiner 2023-02-02 14:44:54 +01:00
parent e1d0ff175f
commit a27cf3d42d

View File

@ -220,9 +220,10 @@ lint_format_safety_bandit_checks:
black: black:
image: python:slim image: debian:bookworm-slim
<<: *apt-template
script: script:
- pip install black - apt-get install black
- black --check --diff --color - black --check --diff --color
examples/fdroid_clean_repos.py examples/fdroid_clean_repos.py
examples/fdroid_extract_repo_pubkey.py examples/fdroid_extract_repo_pubkey.py