mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-10-03 17:50:11 +02:00
Add CI job "black" for code format checks
The CI job will fail, if a file needs to be reformatted. Only files already well formatted will be checked at the moment.
This commit is contained in:
parent
c71c2465d3
commit
ef20e1b329
@ -217,6 +217,36 @@ lint_mypy:
|
|||||||
- 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:
|
fedora_latest:
|
||||||
image: fedora:latest
|
image: fedora:latest
|
||||||
only:
|
only:
|
||||||
|
Loading…
Reference in New Issue
Block a user