From 1f8be77331712dd75370c1e408f068ad88ecb6d8 Mon Sep 17 00:00:00 2001 From: Marc Bonnici Date: Wed, 13 May 2020 11:22:48 +0100 Subject: [PATCH] Disable pep8 errors --- wa/instruments/serialmon.py | 2 +- wa/utils/types.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wa/instruments/serialmon.py b/wa/instruments/serialmon.py index 1b5c137e..f91164a5 100644 --- a/wa/instruments/serialmon.py +++ b/wa/instruments/serialmon.py @@ -62,7 +62,7 @@ class SerialMon(Instrument): if self._collector.collecting: self._collector.stop() data = self._collector.get_data() - for l in data: + for l in data: # noqa: E741 context.add_artifact("{}_serial_log".format(identifier), l.path, kind="log") diff --git a/wa/utils/types.py b/wa/utils/types.py index 6cf064cc..5968e60c 100644 --- a/wa/utils/types.py +++ b/wa/utils/types.py @@ -218,7 +218,7 @@ def version_tuple(v): return tuple(map(str, (v.split(".")))) -def module_name_set(l): +def module_name_set(l): # noqa: E741 """ Converts a list of target modules into a set of module names, disregarding any configuration that may be present.