mirror of https://github.com/tuhiproject/tuhi.git
Fix flake8 errors - module import not at top of the file
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>pull/271/head
parent
27164aba52
commit
b54ac6e99e
|
@ -25,7 +25,7 @@ import time
|
|||
|
||||
sys.path.insert(0, os.path.dirname(os.path.realpath(__file__)) + '/..') # noqa
|
||||
|
||||
from tuhi.protocol import *
|
||||
from tuhi.protocol import * # noqa
|
||||
|
||||
|
||||
SUCCESS = NordicData([0xb3, 0x1, 0x00])
|
||||
|
|
|
@ -27,8 +27,8 @@ import logging
|
|||
|
||||
sys.path.insert(0, os.path.dirname(os.path.realpath(__file__)) + '/..') # noqa
|
||||
|
||||
from tuhi.protocol import *
|
||||
from tuhi.util import flatten
|
||||
from tuhi.protocol import * # noqa
|
||||
from tuhi.util import flatten # noqa
|
||||
|
||||
logger = logging.getLogger('tuhi') # piggyback the debug messages
|
||||
logger.setLevel(logging.DEBUG)
|
||||
|
|
|
@ -28,11 +28,11 @@ import logging
|
|||
# This tool isn't installed, so we can assume that the tuhi module is always
|
||||
# in the parent directory
|
||||
sys.path.insert(0, os.path.dirname(os.path.realpath(__file__)) + '/..') # noqa
|
||||
from tuhi.util import flatten
|
||||
from tuhi.drawing import Drawing
|
||||
from tuhi.protocol import StrokeFile
|
||||
from tuhi.export import JsonSvg, JsonPng
|
||||
from tuhi.wacom import WacomProtocolSpark, WacomProtocolIntuosPro, WacomProtocolSlate
|
||||
from tuhi.util import flatten # noqa
|
||||
from tuhi.drawing import Drawing # noqa
|
||||
from tuhi.protocol import StrokeFile # noqa
|
||||
from tuhi.export import JsonSvg, JsonPng # noqa
|
||||
from tuhi.wacom import WacomProtocolSpark, WacomProtocolIntuosPro, WacomProtocolSlate # noqa
|
||||
|
||||
logging.basicConfig(format='%(asctime)s %(levelname)s: %(name)s: %(message)s',
|
||||
level=logging.INFO,
|
||||
|
|
Loading…
Reference in New Issue