1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-10-02 09:10:11 +02:00

examples/fdroid_clean_repos.py: black code format

!1227
This commit is contained in:
Hans-Christoph Steiner 2022-11-22 20:43:19 +01:00
parent d7d4c18502
commit 052c753075
2 changed files with 9 additions and 2 deletions

View File

@ -223,6 +223,7 @@ black:
script:
- pip install black
- black --check --diff --color
examples/fdroid_clean_repos.py
examples/fdroid_extract_repo_pubkey.py
fdroid
fdroidserver/btlog.py

View File

@ -13,9 +13,15 @@ fdroid_summary = 'reset app VCSs to the latest version'
def main():
parser = argparse.ArgumentParser(usage="%(prog)s [options] [APPID[:VERCODE] [APPID[:VERCODE] ...]]")
parser = argparse.ArgumentParser(
usage="%(prog)s [options] [APPID[:VERCODE] [APPID[:VERCODE] ...]]"
)
common.setup_global_opts(parser)
parser.add_argument("appid", nargs='*', help=_("applicationId with optional versionCode in the form APPID[:VERCODE]"))
parser.add_argument(
"appid",
nargs='*',
help=_("applicationId with optional versionCode in the form APPID[:VERCODE]"),
)
metadata.add_metadata_arguments(parser)
options = parser.parse_args()
common.options = options