Skip to content

Commit a781997

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent bb93abf commit a781997

9 files changed

Lines changed: 1 addition & 9 deletions

File tree

ahk/_async/engine.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ async def set_title_match_mode(self, title_match_mode: TitleMatchMode, /) -> Non
289289

290290
args = []
291291
if isinstance(title_match_mode, tuple):
292-
(match_mode, match_speed) = title_match_mode
292+
match_mode, match_speed = title_match_mode
293293
elif title_match_mode in (1, 2, 3, 'RegEx'):
294294
match_mode = title_match_mode
295295
match_speed = ''

ahk/_async/transport.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@
4949
from ahk.message import RequestMessage
5050
from ahk.message import ResponseMessage
5151

52-
5352
if TYPE_CHECKING:
5453
from ahk import AsyncControl
5554
from ahk import AsyncWindow

tests/_async/test_hotkeys.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
from ahk import AsyncAHK
99
from ahk import AsyncWindow
1010

11-
1211
async_sleep = asyncio.sleep # unasync: remove
1312

1413
sleep = time.sleep

tests/_sync/test_clipboard.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
from ahk import AHK
66

7-
87
sleep = time.sleep
98

109

tests/_sync/test_extensions.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
from ahk import AHK
1313
from ahk.extensions import Extension
1414

15-
1615
sleep = time.sleep
1716

1817
function_name = 'AHKDoSomething'

tests/_sync/test_gui.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
from ahk import AHK
88

9-
109
sleep = time.sleep
1110

1211

tests/_sync/test_hotkeys.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
from ahk import AHK
88
from ahk import Window
99

10-
1110
sleep = time.sleep
1211

1312

tests/_sync/test_keys.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
from ahk import AHK
1111
from ahk import Window
1212

13-
1413
sleep = time.sleep
1514

1615

tests/_sync/test_mouse.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
from ahk import AHK
99
from ahk import Window
1010

11-
1211
sleep = time.sleep
1312

1413

0 commit comments

Comments
 (0)