Ruff: fix typing.Xxx is deprecated, use xxx instead (MR 2327)

This commit is contained in:
Oliver Smith 2024-06-23 18:56:04 +02:00
parent 61cb4f4abb
commit 18fa4e58a3
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
47 changed files with 137 additions and 147 deletions

View file

@ -10,7 +10,7 @@ See also:
"""
import copy
from typing import Any, Dict
from typing import Any
from pmb.core.arch import Arch
from pmb.core.context import get_context
from pmb.helpers import logging
@ -50,7 +50,7 @@ def get(pkgname, arch, replace_subpkgnames=False, must_exist=True):
* None if the package was not found
"""
# Find in pmaports
ret: Dict[str, Any] = {}
ret: dict[str, Any] = {}
pmaport = pmb.helpers.pmaports.get(pkgname, False)
if pmaport:
ret = {