Skip to content

Commit

Permalink
flake8, hotkey/darwin: Just ignore this file for now
Browse files Browse the repository at this point in the history
It'll take digging into macOS-specific documents to type things sufficiently
to pass the flake8 TAE001 "too few type annotations" check.
  • Loading branch information
Athanasius committed Dec 23, 2022
1 parent f7cba59 commit a08eef3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .flake8
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion hotkey/darwin.py
Expand Up @@ -56,7 +56,7 @@ def __init__(self):
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.
Expand Down

0 comments on commit a08eef3

Please sign in to comment.