A_D
|
ca915782f6
|
hotkey: add sys.platform guards to all files
This both makes mypy happy and ensures that the wrong file is not
imported in the wrong place
|
2022-12-23 19:01:02 +02:00 |
|
A_D
|
490bd9dbdd
|
hotkeys/windows.py: Add explicit platform check
|
2022-12-23 18:07:39 +02:00 |
|
A_D
|
470c9b2728
|
hotkey/linux.py: Update stub
This was missing some abstract methods
|
2022-12-23 18:02:55 +02:00 |
|
Athanasius
|
8a7a0fdf9a
|
hotkey/windows: Remove un-necessary u tagging of strings
|
2022-12-23 14:47:39 +00:00 |
|
Athanasius
|
46d518986c
|
hotkey/windows: Minor formatting cleanups
|
2022-12-23 14:47:33 +00:00 |
|
Athanasius
|
3b0c7370cc
|
hotkey: Make more of the windows methods abstract ones in parent
Without this mypy objects to calling them due to not being in the visible
AbstractKetkeyMgr type.
|
2022-12-23 14:47:20 +00:00 |
|
Athanasius
|
872ab1b814
|
hotkey/darwin: No need to sys.platform gate within this
And it gets rid of a `pre-commit run --all-files mypy` error.
|
2022-12-23 14:47:12 +00:00 |
|
Athanasius
|
a08eef3244
|
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.
|
2022-12-23 14:47:07 +00:00 |
|
Athanasius
|
f7cba59e61
|
hotkey: Re-factor into a module, per-arch files
This helps avoid some pre-commit/mypy carping.
|
2022-12-23 14:47:06 +00:00 |
|