mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-06-07 10:53:26 +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:
parent
f7cba59e61
commit
a08eef3244
1
.flake8
1
.flake8
@ -8,6 +8,7 @@ exclude =
|
|||||||
venv/
|
venv/
|
||||||
.venv/
|
.venv/
|
||||||
wix/
|
wix/
|
||||||
|
hotkey/darwin.py # FIXME: Check under macOS VM at some point
|
||||||
|
|
||||||
# Show exactly where in a line the error happened
|
# Show exactly where in a line the error happened
|
||||||
#show-source = True
|
#show-source = True
|
||||||
|
@ -56,7 +56,7 @@ class MacHotkeyMgr(AbstractHotkeyMgr):
|
|||||||
pathlib.Path(config.respath_path) / 'snd_bad.wav', False
|
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.
|
Register current hotkey for monitoring.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user