From d933ec64152d5e48aae29f372785faa6abdde842 Mon Sep 17 00:00:00 2001 From: 2Shirt <2xShirt@gmail.com> Date: Sat, 26 Aug 2023 16:55:25 -0700 Subject: [PATCH] Ignore some unused function arguments --- scripts/wk/hw/diags.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/wk/hw/diags.py b/scripts/wk/hw/diags.py index 5e032a41..b08bf5eb 100644 --- a/scripts/wk/hw/diags.py +++ b/scripts/wk/hw/diags.py @@ -352,6 +352,7 @@ def cpu_tests_end(state) -> None: def cpu_test_cooling(state, test_object, test_mode=False) -> None: """CPU cooling test via sensor data assessment.""" + _ = test_mode LOG.info('CPU Test (Cooling)') # Bail early @@ -516,6 +517,7 @@ def cpu_test_sysbench(state, test_object, test_mode=False) -> None: def disk_attribute_check(state, test_objects, test_mode=False) -> None: """Disk attribute check.""" + _ = test_mode LOG.info('Disk Attribute Check') for test in test_objects: disk_smart_status_check(test.dev, mid_run=False) @@ -593,6 +595,7 @@ def disk_io_benchmark( def disk_self_test(state, test_objects, test_mode=False) -> None: """Disk self-test if available.""" + _ = test_mode LOG.info('Disk Self-Test(s)') aborted = False threads = []