Skip to content

Commit

Permalink
Fix PEP8 lint issue: unexpected spaces around keyword / parameter equals
Browse files Browse the repository at this point in the history
  • Loading branch information
syssi committed Nov 17, 2018
1 parent 293c3a0 commit 015e020
Showing 1 changed file with 4 additions and 4 deletions.
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

0 comments on commit 015e020

Please sign in to comment.