1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-07-04 16:30:12 +02:00

Merge branch 'black' into 'master'

Add CI job "black" for code format checks

See merge request fdroid/fdroidserver!998
This commit is contained in:
Hans-Christoph Steiner 2021-09-29 18:00:06 +00:00
commit 311e6a14f1

View File

@ -217,6 +217,36 @@ lint_mypy:
- mypy
black:
image: python:slim
script:
- pip install black
- black --check --diff --color --skip-string-normalization
examples/fdroid_extract_repo_pubkey.py
examples/makebuildserver.config.py
fdroid
fdroidserver/exception.py
fdroidserver/gpgsign.py
fdroidserver/lint.py
fdroidserver/mirror.py
fdroidserver/net.py
fdroidserver/readmeta.py
fdroidserver/signindex.py
fdroidserver/tail.py
tests/build.TestCase
tests/deploy.TestCase
tests/exception.TestCase
tests/import.TestCase
tests/import_proxy.py
tests/init.TestCase
tests/install.TestCase
tests/key-tricks.py
tests/lint.TestCase
tests/metadata.TestCase
tests/ndk-release-checksums.py
tests/rewritemeta.TestCase
fedora_latest:
image: fedora:latest
only: