浏览代码

Fix for flake8

Kentaro Wada 6 年之前
父节点
当前提交
f5ffb2f1cd
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      labelme/app.py
  2. 1 1
      labelme/canvas.py

+ 1 - 1
labelme/app.py

@@ -14,7 +14,6 @@ from qtpy import QtWidgets
 
 from labelme import __appname__
 from labelme import __version__
-from labelme import QT5
 from labelme.canvas import Canvas
 from labelme.colorDialog import ColorDialog
 from labelme.config import get_config
@@ -27,6 +26,7 @@ from labelme.lib import newAction
 from labelme.lib import newIcon
 from labelme.lib import struct
 from labelme import logger
+from labelme import QT5
 from labelme.shape import DEFAULT_FILL_COLOR
 from labelme.shape import DEFAULT_LINE_COLOR
 from labelme.shape import Shape

+ 1 - 1
labelme/canvas.py

@@ -2,8 +2,8 @@ from qtpy import QtCore
 from qtpy import QtGui
 from qtpy import QtWidgets
 
-from labelme import QT5
 from labelme.lib import distance
+from labelme import QT5
 from labelme.shape import Shape