瀏覽代碼

Fix for flake8

Kentaro Wada 2 年之前
父節點
當前提交
d42e3c6e23
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 2 0
      labelme/ai/__init__.py
  2. 0 2
      labelme/widgets/canvas.py

+ 2 - 0
labelme/ai/__init__.py

@@ -1 +1,3 @@
+# flake8: noqa
+
 from .models.segment_anything import SegmentAnythingModel

+ 0 - 2
labelme/widgets/canvas.py

@@ -1,4 +1,3 @@
-import numpy as np
 from qtpy import QtCore
 from qtpy import QtGui
 from qtpy import QtWidgets
@@ -6,7 +5,6 @@ from qtpy import QtWidgets
 import labelme.ai
 from labelme import QT5
 from labelme.shape import Shape
-from labelme.shape import Shape
 import labelme.utils