From df013b57dc5b7c24c3a318a19dd10d05c475a548 Mon Sep 17 00:00:00 2001 From: "Salvador E. Tropea" Date: Fri, 28 Aug 2020 16:57:31 -0300 Subject: [PATCH] Fixed flake8 details --- tests/test_plot/test_pcbdraw.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/tests/test_plot/test_pcbdraw.py b/tests/test_plot/test_pcbdraw.py index c09989b71..ba72405f2 100644 --- a/tests/test_plot/test_pcbdraw.py +++ b/tests/test_plot/test_pcbdraw.py @@ -19,7 +19,7 @@ prev_dir = os.path.dirname(prev_dir) if prev_dir not in sys.path: sys.path.insert(0, prev_dir) -from kibot.mcpy import activate +from kibot.mcpy import activate # noqa: F401 from kibot.out_pcbdraw import PcbDrawOptions OUT_DIR = 'PcbDraw' @@ -66,9 +66,9 @@ def test_pcbdraw_miss_rsvg(caplog, monkeypatch): m.setattr("shutil.which", no_rsvg_convert) m.setattr("subprocess.check_output", no_run) o = PcbDrawOptions() - o.style='' - o.remap=None - o.format='jpg' + o.style = '' + o.remap = None + o.format = 'jpg' cov.load() cov.start() o.run('', None) @@ -84,9 +84,9 @@ def test_pcbdraw_miss_convert(caplog, monkeypatch): m.setattr("shutil.which", no_convert) m.setattr("subprocess.check_output", no_run) o = PcbDrawOptions() - o.style='' - o.remap=None - o.format='jpg' + o.style = '' + o.remap = None + o.format = 'jpg' cov.load() cov.start() o.run('', None)