mypy: Add support for version 2.1

Tests:

- Unit tests pass.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Sunil Mohan Adapa authored and James Valleroy committed 2026-08-08 10:03:44 -04:00
1 parent d2a959a277
commit f2e898090c
3 files changed
+13 -10

No files matched your search

+2 -1
View File
@@ -3,6 +3,7 @@
import logging
import threading
from typing import Any
from plinth import cfg
from plinth.utils import import_from_gi
@@ -40,7 +41,7 @@ _ERRORS: dict[str, str] = {
'Failed': 'org.freedesktop.UDisks2.Error.Failed',
}
_jobs = {}
_jobs: dict[str, Any] = {}
logger = logging.getLogger(__name__)