Merge pull request #145 from YunoHost/actions/black

Format Python code with Black
This commit is contained in:
Alexandre Aubin 2024-04-22 18:35:17 +02:00 committed by GitHub
commit 02265400d9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1797,7 +1797,9 @@ class Manifest(TestSuite):
if not value.strip():
yield Warning("Please don't put empty string as a maintainer x_x")
elif "," in value:
yield Warning("Please don't use comma in maintainers value, this is supposed to be a list such as ['foo', bar'], not ['foo, bar'] x_x")
yield Warning(
"Please don't use comma in maintainers value, this is supposed to be a list such as ['foo', bar'], not ['foo, bar'] x_x"
)
@test()
def upstream_fields(self):