diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3fca1897..3ba44aed 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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: