Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ repos:
- id: trailing-whitespace
- id: double-quote-string-fixer
- repo: https://github.com/psf/black-pre-commit-mirror
rev: '25.12.0'
rev: '26.1.0'
hooks:
- id: black
args:
Expand Down
2 changes: 1 addition & 1 deletion ahk/_async/engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ async def set_title_match_mode(self, title_match_mode: TitleMatchMode, /) -> Non

args = []
if isinstance(title_match_mode, tuple):
(match_mode, match_speed) = title_match_mode
match_mode, match_speed = title_match_mode
elif title_match_mode in (1, 2, 3, 'RegEx'):
match_mode = title_match_mode
match_speed = ''
Expand Down
1 change: 0 additions & 1 deletion ahk/_async/transport.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@
from ahk.message import RequestMessage
from ahk.message import ResponseMessage


if TYPE_CHECKING:
from ahk import AsyncControl
from ahk import AsyncWindow
Expand Down
1 change: 0 additions & 1 deletion tests/_async/test_hotkeys.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
from ahk import AsyncAHK
from ahk import AsyncWindow


async_sleep = asyncio.sleep # unasync: remove

sleep = time.sleep
Expand Down
1 change: 0 additions & 1 deletion tests/_sync/test_clipboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

from ahk import AHK


sleep = time.sleep


Expand Down
1 change: 0 additions & 1 deletion tests/_sync/test_extensions.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
from ahk import AHK
from ahk.extensions import Extension


sleep = time.sleep

function_name = 'AHKDoSomething'
Expand Down
1 change: 0 additions & 1 deletion tests/_sync/test_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

from ahk import AHK


sleep = time.sleep


Expand Down
1 change: 0 additions & 1 deletion tests/_sync/test_hotkeys.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
from ahk import AHK
from ahk import Window


sleep = time.sleep


Expand Down
1 change: 0 additions & 1 deletion tests/_sync/test_keys.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
from ahk import AHK
from ahk import Window


sleep = time.sleep


Expand Down
1 change: 0 additions & 1 deletion tests/_sync/test_mouse.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
from ahk import AHK
from ahk import Window


sleep = time.sleep


Expand Down