spyoungtech / ahk

Python wrapper for AutoHotkey with full type support. Harness the automation power of AutoHotkey with the beauty of Python.
MIT License
858 stars 65 forks source link

fix typehint for keywait #305

Closed spyoungtech closed 4 months ago

spyoungtech commented 4 months ago

The typehint for keywait specifies the timeout as Optional[int] however, AutoHotkey also accepts float values for the key wait timeout.

coveralls commented 4 months ago

Coverage Status

coverage: 77.477%. remained the same when pulling 6bbcae589719527cf207e695e133c9692cf4ca8d on fix-keywait-typehint into 4007bb80d1e8c3f3985b6ad68c25f70abbfb512b on main.