1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-13 07:47:14 +03:00

flake8, hotkey/darwin: Just ignore this file for now

It'll take digging into macOS-specific documents to type things sufficiently
to pass the flake8 TAE001 "too few type annotations" check.
This commit is contained in:
Athanasius 2022-12-22 13:24:01 +00:00
parent f7cba59e61
commit a08eef3244
No known key found for this signature in database
GPG Key ID: 772697E181BB2767
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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.