Skip to content

Commit 9f29ab0

Browse files
Adjusting 'type_keys' return type
1 parent aed0bf1 commit 9f29ab0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

botcity/core/bot.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1201,7 +1201,7 @@ def key_right(self, wait: int = 0) -> None:
12011201
delay = max(0, wait or config.DEFAULT_SLEEP_AFTER_ACTION)
12021202
self.sleep(delay)
12031203

1204-
def key_enter(self, wait: int = 0):
1204+
def key_enter(self, wait: int = 0) -> None:
12051205
"""
12061206
Press key Enter
12071207
@@ -1351,7 +1351,7 @@ def type_keys_with_interval(self, interval: int, keys: List) -> None:
13511351
self._kb_controller.release(key)
13521352
self.sleep(interval)
13531353

1354-
def type_keys(self, keys: List):
1354+
def type_keys(self, keys: List) -> None:
13551355
"""
13561356
Press a sequence of keys. Hold the keys in the specific order and releases them.
13571357
@@ -1548,10 +1548,10 @@ def control_end(self, wait: int = 0) -> None:
15481548

15491549
def control_home(self, wait: int = 0) -> None:
15501550
"""
1551-
press keys CTRL+home
1551+
Press keys CTRL+Home
15521552
1553-
args:
1554-
wait (int, optional): wait interval (ms) after task
1553+
Args:
1554+
wait (int, optional): Wait interval (ms) after task
15551555
15561556
"""
15571557
self.control_key(key_to_press=Key.home, wait=wait)

0 commit comments

Comments
 (0)