Skip to content

Commit

Permalink
Fix coding style for houndci
Browse files Browse the repository at this point in the history
  • Loading branch information
mrin committed Nov 7, 2017
1 parent de89ac1 commit d6557ee
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions miio/vacuum.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,14 @@ class TimerState(enum.Enum):
On = "on"
Off = "off"


class Consumable(enum.Enum):
MainBrush = "main_brush_work_time"
SideBrush = "side_brush_work_time"
Filter = "filter_work_time"
SensorDirty = "sensor_dirty_time"


class Vacuum(Device):
"""Main class representing the vacuum."""

Expand Down
3 changes: 2 additions & 1 deletion miio/vacuum_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,8 @@ def reset_consumable(vac: miio.Vacuum, name):
else:
return

click.echo("Resetting consumable '%s': %s" % (name, vac.consumable_reset(consumable)))
click.echo("Resetting consumable '%s': %s" % (name,
vac.consumable_reset(consumable)))


@cli.command()
Expand Down

0 comments on commit d6557ee

Please sign in to comment.