mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-12 02:00:28 +03:00
fix code format for new black rule
This commit is contained in:
parent
e903952029
commit
b92e280eab
20 changed files with 0 additions and 24 deletions
|
|
@ -888,7 +888,6 @@ timeout_event = threading.Event()
|
|||
|
||||
|
||||
def main():
|
||||
|
||||
global options, config, buildserverid, fdroidserverid
|
||||
|
||||
options, parser = parse_commandline()
|
||||
|
|
|
|||
|
|
@ -590,7 +590,6 @@ start_timestamp = time.gmtime()
|
|||
|
||||
|
||||
def main():
|
||||
|
||||
global config, options
|
||||
|
||||
# Parse command line...
|
||||
|
|
|
|||
|
|
@ -42,7 +42,6 @@ def status_update_json(signed):
|
|||
|
||||
|
||||
def main():
|
||||
|
||||
global config, options
|
||||
|
||||
# Parse command line...
|
||||
|
|
|
|||
|
|
@ -183,7 +183,6 @@ def get_app_from_url(url):
|
|||
|
||||
|
||||
def main():
|
||||
|
||||
global config, options
|
||||
|
||||
# Parse command line...
|
||||
|
|
|
|||
|
|
@ -49,7 +49,6 @@ def disable_in_config(key, value):
|
|||
|
||||
|
||||
def main():
|
||||
|
||||
global options, config
|
||||
|
||||
# Parse command line...
|
||||
|
|
|
|||
|
|
@ -44,7 +44,6 @@ def devices():
|
|||
|
||||
|
||||
def main():
|
||||
|
||||
global options, config
|
||||
|
||||
# Parse command line...
|
||||
|
|
|
|||
|
|
@ -697,7 +697,6 @@ def check_updates_ucm_http_aum_pattern(app): # noqa: D403
|
|||
|
||||
|
||||
def main():
|
||||
|
||||
global config, options
|
||||
|
||||
# Parse command line...
|
||||
|
|
@ -754,7 +753,6 @@ def main():
|
|||
|
||||
# only run yamllint when linting individual apps.
|
||||
if options.appid or options.force_yamllint:
|
||||
|
||||
# run yamllint on app metadata
|
||||
ymlpath = Path('metadata') / (appid + '.yml')
|
||||
if ymlpath.is_file():
|
||||
|
|
|
|||
|
|
@ -160,7 +160,6 @@ def get_repo_base_url(clone_url, repo_git_base, force_type=None):
|
|||
|
||||
|
||||
def main():
|
||||
|
||||
parser = ArgumentParser()
|
||||
common.setup_global_opts(parser)
|
||||
parser.add_argument(
|
||||
|
|
|
|||
|
|
@ -24,7 +24,6 @@ options = None
|
|||
|
||||
|
||||
def main():
|
||||
|
||||
parser = ArgumentParser()
|
||||
common.setup_global_opts(parser)
|
||||
metadata.add_metadata_arguments(parser)
|
||||
|
|
|
|||
|
|
@ -45,7 +45,6 @@ def proper_format(app):
|
|||
|
||||
|
||||
def main():
|
||||
|
||||
global config, options
|
||||
|
||||
parser = ArgumentParser()
|
||||
|
|
|
|||
|
|
@ -175,7 +175,6 @@ def status_update_json(signed):
|
|||
|
||||
|
||||
def main():
|
||||
|
||||
global config, options
|
||||
|
||||
parser = ArgumentParser()
|
||||
|
|
|
|||
|
|
@ -2150,7 +2150,6 @@ start_timestamp = time.gmtime()
|
|||
|
||||
|
||||
def main():
|
||||
|
||||
global config, options
|
||||
|
||||
# Parse command line...
|
||||
|
|
|
|||
|
|
@ -146,7 +146,6 @@ def write_json_report(url, remote_apk, unsigned_apk, compare_result):
|
|||
|
||||
|
||||
def main():
|
||||
|
||||
global options, config
|
||||
|
||||
# Parse command line...
|
||||
|
|
@ -192,7 +191,6 @@ def main():
|
|||
vercodes = common.read_pkg_args(options.appid, True)
|
||||
|
||||
for apkfile in sorted(glob.glob(os.path.join(unsigned_dir, '*.apk'))):
|
||||
|
||||
apkfilename = os.path.basename(apkfile)
|
||||
url = 'https://f-droid.org/repo/' + apkfilename
|
||||
appid, vercode = common.publishednameinfo(apkfile)
|
||||
|
|
@ -205,7 +203,6 @@ def main():
|
|||
processed.add(appid)
|
||||
|
||||
try:
|
||||
|
||||
logging.info("Processing {apkfilename}".format(apkfilename=apkfilename))
|
||||
|
||||
remote_apk = os.path.join(tmp_dir, apkfilename)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue