1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-12 07:20:02 +03:00

19 Commits

Author SHA1 Message Date
David Sangrey
c0deeeb4cf
[1805] Simplify Window Text Call 2024-06-18 13:09:21 -04:00
David Sangrey
571558daff
[1805] Additional Handover 2024-06-11 11:06:58 -04:00
David Sangrey
f8d354a4dd
[1805] Implement win32con in Hotkey 2024-06-11 10:42:57 -04:00
David Sangrey
b1ba45ab90
[1805] Update Prototypes 2024-06-10 23:29:04 -04:00
David Sangrey
256be4c8a9
[1805] Linter Cleanup 2024-06-10 23:03:20 -04:00
David Sangrey
17a7af959a
[#1805] pywin32 Handoff 2024-06-10 23:00:44 -04:00
David Sangrey
57b6ecd88e
[2186] Remove Config and Hotkey 2024-03-27 19:16:45 -04:00
David Sangrey
b7633fa6e3
Handover a number of Lists to Tuples
Tuples are (slightly) more efficient for comparing if x in y. Not that it'll really matter at this scale, but it's technically better and simple to implement.

Applying to all files except theme.py, because theme.py is scary.
2023-12-27 00:29:35 -05:00
David Sangrey
170b86b5dc
[2051] Remove More Old Types 2023-11-30 21:45:04 -05:00
David Sangrey
cb2a18025c
[2051] First Pass Remaining Files 2023-11-30 21:30:18 -05:00
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