소스 검색

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