Merge pull request #2127 from YunoHost/actions/black
Format Python code with Black
This commit is contained in:
commit
8a20bdf90a
1 changed files with 7 additions and 2 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue