mirror of
https://github.com/YunoHost/package_linter.git
synced 2024-09-03 20:06:12 +02:00
🎨 Format Python code with Black
This commit is contained in:
parent
ce35d75450
commit
2c3886474c
1 changed files with 6 additions and 2 deletions
|
@ -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
|
||||
)
|
||||
|
||||
|
||||
########################################
|
||||
|
|
Loading…
Reference in a new issue