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")):