config black exceptions in pyproject.toml

This means that anyone can run `black .` and it won't break things. Plus it
gives us a roadmap for fully enabling black.
This commit is contained in:
Hans-Christoph Steiner 2023-04-25 23:02:23 +02:00
parent 32ea4ef19a
commit 6dcdadd0e3
No known key found for this signature in database
GPG key ID: 3E177817BA1B9BFA
2 changed files with 40 additions and 39 deletions

View file

@ -254,45 +254,7 @@ black:
<<: *apt-template
script:
- apt-get install black
- black --check --diff --color
examples/fdroid_clean_repos.py
examples/fdroid_extract_repo_pubkey.py
fdroid
fdroidserver/btlog.py
fdroidserver/exception.py
fdroidserver/gpgsign.py
fdroidserver/init.py
fdroidserver/lint.py
fdroidserver/mirror.py
fdroidserver/net.py
fdroidserver/readmeta.py
fdroidserver/rewritemeta.py
fdroidserver/signatures.py
fdroidserver/signindex.py
fdroidserver/tail.py
fdroidserver/verify.py
setup.py
tests/api.TestCase
tests/build.TestCase
tests/deploy.TestCase
tests/dump_internal_metadata_format.py
tests/exception.TestCase
tests/gpgsign.TestCase
tests/import_subcommand.TestCase
tests/index.TestCase
tests/init.TestCase
tests/install.TestCase
tests/key-tricks.py
tests/lint.TestCase
tests/main.TestCase
tests/metadata.TestCase
tests/net.TestCase
tests/nightly.TestCase
tests/rewritemeta.TestCase
tests/scanner.TestCase
tests/signindex.TestCase
tests/vcs.TestCase
tests/verify.TestCase
- black --check --diff --color $CI_PROJECT_DIR
fedora_latest:
image: fedora:latest