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
9eb04be676
commit
ecbc8749f1
1 changed files with 3 additions and 1 deletions
|
@ -811,7 +811,9 @@ class App(TestSuite):
|
||||||
@test()
|
@test()
|
||||||
def supervisor_usage(self):
|
def supervisor_usage(self):
|
||||||
if os.system("grep -I -qr '^\s*supervisorctl' %s 2>/dev/null" % self.path) == 0:
|
if os.system("grep -I -qr '^\s*supervisorctl' %s 2>/dev/null" % self.path) == 0:
|
||||||
yield Warning("Please don't rely on supervisor to run services. YunoHost is about standardization and the standard is to use systemd units...")
|
yield Warning(
|
||||||
|
"Please don't rely on supervisor to run services. YunoHost is about standardization and the standard is to use systemd units..."
|
||||||
|
)
|
||||||
|
|
||||||
@test()
|
@test()
|
||||||
def bad_encoding(self):
|
def bad_encoding(self):
|
||||||
|
|
Loading…
Reference in a new issue