mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Fixes for the linter overlords
This commit is contained in:
parent
ae5941116d
commit
080988d20e
2 changed files with 2 additions and 3 deletions
|
@ -2385,7 +2385,7 @@ def _check_manifest_requirements(manifest: Dict, action: str):
|
||||||
)
|
)
|
||||||
|
|
||||||
# Multi-instance
|
# Multi-instance
|
||||||
if action == "install" and manifest["integration"]["multi_instance"] == False:
|
if action == "install" and manifest["integration"]["multi_instance"] is False:
|
||||||
apps = _installed_apps()
|
apps = _installed_apps()
|
||||||
sibling_apps = [a for a in apps if a == app_id or a.startswith(f"{app_id}__")]
|
sibling_apps = [a for a in apps if a == app_id or a.startswith(f"{app_id}__")]
|
||||||
if len(sibling_apps) > 0:
|
if len(sibling_apps) > 0:
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
import os
|
import os
|
||||||
import json
|
|
||||||
import glob
|
|
||||||
import pytest
|
import pytest
|
||||||
|
import yaml
|
||||||
|
|
||||||
import moulinette
|
import moulinette
|
||||||
from yunohost.utils.error import YunohostError, YunohostValidationError
|
from yunohost.utils.error import YunohostError, YunohostValidationError
|
||||||
|
|
Loading…
Add table
Reference in a new issue