From 182b74cff5d94d4eefa2772ca42933c7007ff9ef Mon Sep 17 00:00:00 2001 From: Christoph Wiechert Date: Fri, 11 Feb 2022 17:44:29 +0100 Subject: [PATCH] Fix linting errors Signed-off-by: Christoph Wiechert --- smartmon.py | 1 + 1 file changed, 1 insertion(+) diff --git a/smartmon.py b/smartmon.py index b7f2d0a..1514769 100755 --- a/smartmon.py +++ b/smartmon.py @@ -408,6 +408,7 @@ def collect_disks_smart_metrics(wakeup_disks): if device.type == 'nvme': yield from collect_nvme_metrics(device) + def main(): parser = argparse.ArgumentParser() parser.add_argument('-s', '--wakeup-disks', dest='wakeup_disks', action='store_true')