From 33856f30b7b9ec00aa6e2257048a590af51f54cd Mon Sep 17 00:00:00 2001 From: Jack Cherng Date: Tue, 20 Feb 2024 16:31:28 +0800 Subject: [PATCH] style: make ruff happy Signed-off-by: Jack Cherng --- plugin/types.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugin/types.py b/plugin/types.py index ccc78c2c..4f567704 100644 --- a/plugin/types.py +++ b/plugin/types.py @@ -86,8 +86,11 @@ class ST_SyntaxRule(ST_MatchRule): class WindowKeyedDict(UserDict[WindowIdAble, _T]): def __setitem__(self, key: WindowIdAble, value: _T) -> None: ... + def __getitem__(self, key: WindowIdAble) -> _T: ... + def __delitem__(self, key: WindowIdAble) -> None: ... + def keys(self) -> KeysView[WindowId]: ... @staticmethod def _to_window_id(value: WindowIdAble) -> WindowId: ...