Skip to content

Commit

Permalink
Merge pull request #152 from YunoHost/actions/black
Browse files Browse the repository at this point in the history
Format Python code with Black
  • Loading branch information
alexAubin authored Jun 9, 2024
2 parents ce35d75 + 2c38864 commit f8f3816
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions package_linter.py
Original file line number Diff line number Diff line change
Expand Up @@ -1218,7 +1218,9 @@ def tests_toml(self):
)
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()
Expand Down Expand Up @@ -2278,7 +2280,9 @@ def resource_consistency(self):
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
)


########################################
Expand Down

0 comments on commit f8f3816

Please sign in to comment.