Skip to content

Commit 93e759b

Browse files
Flake8
1 parent c714a1c commit 93e759b

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

stage5.1_fuller_application/pycasa/model/image_folder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def to_dataframe(self):
4141
file_data = {"filename": filename, "Num. faces": np.nan}
4242
try:
4343
file_data.update(img_file.metadata)
44-
except Exception as e:
44+
except Exception:
4545
pass
4646
data.append(file_data)
4747

stage5.1_fuller_application/pycasa/model/tests/test_image_folder.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
from os.path import dirname, join
22
from unittest import TestCase
33

4-
import numpy as np
54
import pandas as pd
65

76
from pycasa.model.image_folder import ImageFolder

stage5.1_fuller_application/pycasa/ui/image_folder_view.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
# General imports
2-
from matplotlib.figure import Figure
32

43
# ETS imports
5-
from traits.api import Instance, observe
4+
from traits.api import Instance
65
from traitsui.api import Item, ModelView, View
76
from traitsui.ui_editors.data_frame_editor import DataFrameEditor
87
# Local imports

0 commit comments

Comments
 (0)