Fixes for the linter overlords

This commit is contained in:
Alexandre Aubin 2022-11-26 23:56:27 +01:00
parent ae5941116d
commit 080988d20e
2 changed files with 2 additions and 3 deletions

View file

@ -2385,7 +2385,7 @@ def _check_manifest_requirements(manifest: Dict, action: str):
)
# Multi-instance
if action == "install" and manifest["integration"]["multi_instance"] == False:
if action == "install" and manifest["integration"]["multi_instance"] is False:
apps = _installed_apps()
sibling_apps = [a for a in apps if a == app_id or a.startswith(f"{app_id}__")]
if len(sibling_apps) > 0:

View file

@ -1,7 +1,6 @@
import os
import json
import glob
import pytest
import yaml
import moulinette
from yunohost.utils.error import YunohostError, YunohostValidationError