Merge pull request #152 from YunoHost/actions/black

Format Python code with Black
This commit is contained in:
Alexandre Aubin 2024-06-10 00:13:15 +02:00 committed by GitHub
commit f8f381633e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1218,7 +1218,9 @@ class Configurations(TestSuite):
)
else:
yield from validate_schema(
"tests.toml", json.loads(tests_v1_schema()), toml.load(app.path + "/tests.toml")
"tests.toml",
json.loads(tests_v1_schema()),
toml.load(app.path + "/tests.toml"),
)
@test()
@ -2278,7 +2280,9 @@ class Manifest(TestSuite):
def manifest_schema(self):
if app_packaging_format <= 1:
return
yield from validate_schema("manifest", json.loads(manifest_v2_schema()), self.manifest)
yield from validate_schema(
"manifest", json.loads(manifest_v2_schema()), self.manifest
)
########################################