Merge pull request #1833 from YunoHost/actions/black

Format Python code with Black
This commit is contained in:
Alexandre Aubin 2024-05-11 19:44:33 +02:00 committed by GitHub
commit b5884fe1ed
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -119,7 +119,10 @@ class Parser:
# Then we keep this bloc and start a new one
# (we ignore helpers containing [internal] ...)
if "[packagingv1]" not in current_block["comments"] and "[internal]" not in current_block["comments"]:
if (
"[packagingv1]" not in current_block["comments"]
and "[internal]" not in current_block["comments"]
):
self.blocks.append(current_block)
current_block = {
"name": None,