mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
quality: fix mypy complaining about types for the 'extras' key in apt resource
This commit is contained in:
parent
e87ee09b3e
commit
510e82fa22
1 changed files with 2 additions and 2 deletions
|
@ -22,7 +22,7 @@ import shutil
|
|||
import random
|
||||
import tempfile
|
||||
import subprocess
|
||||
from typing import Dict, Any, List
|
||||
from typing import Dict, Any, List, Union
|
||||
|
||||
from moulinette import m18n
|
||||
from moulinette.utils.process import check_output
|
||||
|
@ -1044,7 +1044,7 @@ class AptDependenciesAppResource(AppResource):
|
|||
|
||||
packages: List = []
|
||||
packages_from_raw_bash: str = ""
|
||||
extras: Dict[str, Dict[str, str]] = {}
|
||||
extras: Dict[str, Dict[str, Union[str, List]]] = {}
|
||||
|
||||
def __init__(self, properties: Dict[str, Any], *args, **kwargs):
|
||||
super().__init__(properties, *args, **kwargs)
|
||||
|
|
Loading…
Add table
Reference in a new issue