From e467f42aac7fb92ef3c65a6d5013a4f4429d3396 Mon Sep 17 00:00:00 2001 From: Ryan Ly Date: Fri, 15 May 2020 11:47:31 -0700 Subject: [PATCH] Fix flake8 errors --- src/pynwb/legacy/__init__.py | 2 +- tests/coloredtestrunner.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pynwb/legacy/__init__.py b/src/pynwb/legacy/__init__.py index dda6ce5f4..527df6b53 100644 --- a/src/pynwb/legacy/__init__.py +++ b/src/pynwb/legacy/__init__.py @@ -38,4 +38,4 @@ def _dec(cls): _dec(mapper_cls) -from . import io # noqa: F401 +from . import io # noqa: F401,E402 diff --git a/tests/coloredtestrunner.py b/tests/coloredtestrunner.py index 1ea858b86..e6fcb272f 100644 --- a/tests/coloredtestrunner.py +++ b/tests/coloredtestrunner.py @@ -91,7 +91,7 @@ def __len__(self, x): return len(re.sub(r"\033\[[0-9];[0-9];[0-9]{1,2}m", "", x)) def addRow(self, row): - rows = [[''] for l in range(len(row))] + rows = [[''] for i in range(len(row))] maxrows = 0 for i, x in enumerate(row): for j, y in enumerate(x.split("\n")):