diff options
| author | Yuval Adam <_@yuv.al> | 2021-05-14 11:27:32 +0300 |
|---|---|---|
| committer | Yuval Adam <_@yuv.al> | 2021-05-14 11:27:32 +0300 |
| commit | ef8d205b23c26959a9a0c760e807d79fd76030ae (patch) | |
| tree | 8c6627b60854a7b8c0af86174538d371a5c321ed | |
| parent | 28d118155e6361133717a20822e5c710edc6c973 (diff) | |
Cleanup formatting and lint
| -rw-r--r-- | alarmpy.py | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -16,7 +16,12 @@ class Alarm(object): } def __init__( - self, delay=1, routine_delay=60 * 5, alarm_id=False, repeat_alarms=False, quiet=False + self, + delay=1, + routine_delay=60 * 5, + alarm_id=False, + repeat_alarms=False, + quiet=False, ): self.delay = delay self.last_routine_delay = routine_delay @@ -91,7 +96,7 @@ class Alarm(object): def output_routine(self): if not self.quiet: self.output_leading_timestamp() - click.secho(f"No active alarms", fg="green") + click.secho("No active alarms", fg="green") def output_alarms(self, cities, alarm_id): self.output_leading_timestamp() |
