Skip to content

Commit

Permalink
style: add space when assigning default values
Browse files Browse the repository at this point in the history
  • Loading branch information
winstxnhdw committed Aug 13, 2023
1 parent 462eb11 commit 2267d8b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions keywin/mouse/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from keywin.send_input import send_mouse_event


def create_event(flags: int, x: int=0, y: int=0, mouse_data: int=0) -> list[int]:
def create_event(flags: int, x: int = 0, y: int = 0, mouse_data: int = 0) -> list[int]:
"""
Summary
-------
Expand Down Expand Up @@ -31,7 +31,7 @@ def send_events(*inputs: list[int]):
send_mouse_event(inputs)


def click(flags: int, mouse_data: int=0):
def click(flags: int, mouse_data: int = 0):
"""
Summary
-------
Expand Down Expand Up @@ -179,7 +179,7 @@ def xbutton2_release():
click(MouseCodes.MOUSEEVENTF_XUP, MouseCodes.XBUTTON2)


def move_relative(x: int, y: int, flag: int=0):
def move_relative(x: int, y: int, flag: int = 0):
"""
Summary
-------
Expand Down Expand Up @@ -208,7 +208,7 @@ def move(x: int, y: int):
move_relative(x, y, MouseCodes.MOUSEEVENTF_ABSOLUTE)


def scroll(scroll_delta: int, flags: int=MouseCodes.MOUSEEVENTF_WHEEL):
def scroll(scroll_delta: int, flags: int = MouseCodes.MOUSEEVENTF_WHEEL):
"""
Summary
-------
Expand Down

0 comments on commit 2267d8b

Please sign in to comment.