1
0
Fork 0

Merge pull request #2127 from YunoHost/actions/black

Format Python code with Black
This commit is contained in:
Alexandre Aubin 2024-03-13 23:20:50 +01:00 committed by GitHub
commit 8a20bdf90a

View file

@ -101,8 +101,13 @@ def __run_for_catalog():
parser = argparse.ArgumentParser() parser = argparse.ArgumentParser()
parser.add_argument("-v", "--verbose", action="store_true") parser.add_argument("-v", "--verbose", action="store_true")
parser.add_argument("-j", "--processes", type=int, default=8) parser.add_argument("-j", "--processes", type=int, default=8)
parser.add_argument("-c", "--cleanup", action="store_true", default=False, parser.add_argument(
help="Remove unknown directories from the app cache") "-c",
"--cleanup",
action="store_true",
default=False,
help="Remove unknown directories from the app cache",
)
args = parser.parse_args() args = parser.parse_args()
if args.verbose: if args.verbose:
logging.getLogger().setLevel(logging.INFO) logging.getLogger().setLevel(logging.INFO)