diff --git a/.flake8 b/.flake8 index c8dc0cc6..7207bf81 100644 --- a/.flake8 +++ b/.flake8 @@ -8,6 +8,7 @@ exclude = venv/ .venv/ wix/ + hotkey/darwin.py # FIXME: Check under macOS VM at some point # Show exactly where in a line the error happened #show-source = True diff --git a/hotkey/darwin.py b/hotkey/darwin.py index 9989b4f9..102a73fa 100644 --- a/hotkey/darwin.py +++ b/hotkey/darwin.py @@ -56,7 +56,7 @@ class MacHotkeyMgr(AbstractHotkeyMgr): pathlib.Path(config.respath_path) / 'snd_bad.wav', False ) - def register(self, root: tk.Tk, keycode, modifiers) -> None: + def register(self, root: tk.Tk, keycode: int, modifiers: int) -> None: """ Register current hotkey for monitoring.