Format Python code with black

This commit is contained in:
kpj
2022-02-27 15:26:41 +01:00
parent f0ffc69010
commit c56cb25b5f
136 changed files with 6142 additions and 3811 deletions

View File

@@ -6,18 +6,20 @@ class Command(BaseCommand):
help = """
This command checks your document archive for issues.
""".replace(" ", "")
""".replace(
" ", ""
)
def add_arguments(self, parser):
parser.add_argument(
"--no-progress-bar",
default=False,
action="store_true",
help="If set, the progress bar will not be shown"
help="If set, the progress bar will not be shown",
)
def handle(self, *args, **options):
messages = check_sanity(progress=not options['no_progress_bar'])
messages = check_sanity(progress=not options["no_progress_bar"])
messages.log_messages()