No top level typing issues found in kitty package

This commit is contained in:
Kovid Goyal
2020-03-04 07:31:22 +05:30
parent 5035ed61ee
commit c9ce2f47dc
9 changed files with 159 additions and 102 deletions

View File

@@ -2,7 +2,7 @@
# vim:fileencoding=utf-8
# License: GPLv3 Copyright: 2019, Kovid Goyal <kovid at kovidgoyal.net>
from typing import Mapping
from typing import Dict
from .constants import is_macos, logo_png_file
@@ -26,8 +26,8 @@ else:
from .fast_data_types import dbus_send_notification
from .constants import get_boss
alloc_map: Mapping[int, str] = {}
identifier_map: Mapping[str, int] = {}
alloc_map: Dict[int, str] = {}
identifier_map: Dict[str, int] = {}
def dbus_notification_created(alloc_id, notification_id):
identifier = alloc_map.pop(alloc_id, None)