Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix PEP8 lint issue: unexpected spaces around keyword / parameter equals #416

Merged
Merged
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
8 changes: 4 additions & 4 deletions miio/chuangmi_plug.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ def status(self) -> ChuangmiPlugStatus:
defaultdict(lambda: None, zip(properties, values)))

@command(
default_output = format_output("Powering on"),
default_output=format_output("Powering on"),
)
def on(self):
"""Power on."""
Expand All @@ -150,7 +150,7 @@ def on(self):
return self.send("set_power", ["on"])

@command(
default_output = format_output("Powering off"),
default_output=format_output("Powering off"),
)
def off(self):
"""Power off."""
Expand All @@ -160,14 +160,14 @@ def off(self):
return self.send("set_power", ["off"])

@command(
default_output = format_output("Powering USB on"),
default_output=format_output("Powering USB on"),
)
def usb_on(self):
"""Power on."""
return self.send("set_usb_on")

@command(
default_output = format_output("Powering USB off"),
default_output=format_output("Powering USB off"),
)
def usb_off(self):
"""Power off."""
Expand Down