diff --git a/scripts/wk/hw/diags.py b/scripts/wk/hw/diags.py index 40c5fd4a..ec9ba09f 100644 --- a/scripts/wk/hw/diags.py +++ b/scripts/wk/hw/diags.py @@ -1308,6 +1308,7 @@ def network_test(): def ost_build_report(dev, dev_type): + # pylint: disable=too-many-branches """Build report for posting to osTicket, returns str.""" report = [] diff --git a/scripts/wk/hw/obj.py b/scripts/wk/hw/obj.py index ac44389e..bb59f912 100644 --- a/scripts/wk/hw/obj.py +++ b/scripts/wk/hw/obj.py @@ -151,6 +151,7 @@ class CpuRam(BaseObj): ] def get_serial_number(self): + """Get Mac serial number, returns str.""" if PLATFORM == 'Darwin': cmd = ( 'ioreg -c IOPlatformExpertDevice -d 2'