style: some of the suggestions from flake8
diff --git a/serial/__init__.py b/serial/__init__.py
index 56f24e5..78bdd19 100644
--- a/serial/__init__.py
+++ b/serial/__init__.py
@@ -23,7 +23,7 @@
if os.name == 'nt': # sys.platform == 'win32':
from serial.serialwin32 import Serial
elif os.name == 'posix':
- from serial.serialposix import Serial, PosixPollSerial, VTIMESerial
+ from serial.serialposix import Serial, PosixPollSerial, VTIMESerial # noqa
elif os.name == 'java':
from serial.serialjava import Serial
else:
@@ -66,7 +66,7 @@
module_name = '.protocol_%s' % (protocol,)
for package_name in protocol_handler_packages:
try:
- package = importlib.import_module(package_name)
+ importlib.import_module(package_name)
handler_module = importlib.import_module(module_name, package_name)
except ImportError:
continue