style: some of the suggestions from flake8
diff --git a/serial/tools/hexlify_codec.py b/serial/tools/hexlify_codec.py
index fac85db..6d42080 100644
--- a/serial/tools/hexlify_codec.py
+++ b/serial/tools/hexlify_codec.py
@@ -15,8 +15,8 @@
 
 HEXDIGITS = '0123456789ABCDEF'
 
-### Codec APIs
 
+# Codec APIs
 
 def hex_encode(input, errors='strict'):
     return (serial.to_bytes([int(h, 16) for h in input.split()]), len(input))
@@ -84,7 +84,8 @@
     pass
 
 
-### encodings module API
+# encodings module API
+
 def getregentry():
     return codecs.CodecInfo(
         name='hexlify',
diff --git a/serial/tools/list_ports_common.py b/serial/tools/list_ports_common.py
index 640b2a1..ae43d2d 100644
--- a/serial/tools/list_ports_common.py
+++ b/serial/tools/list_ports_common.py
@@ -56,8 +56,7 @@
                 self.vid,
                 self.pid,
                 ' SER={}'.format(self.serial_number) if self.serial_number is not None else '',
-                ' LOCATION={}'.format(self.location) if self.location is not None else '',
-                )
+                ' LOCATION={}'.format(self.location) if self.location is not None else '')
 
     def apply_usb_info(self):
         """update description and hwid from USB data"""
diff --git a/serial/tools/miniterm.py b/serial/tools/miniterm.py
index 65a5031..b55c3bb 100644
--- a/serial/tools/miniterm.py
+++ b/serial/tools/miniterm.py
@@ -757,16 +757,14 @@
             type=int,
             metavar='NUM',
             help="Unicode of special character that is used to exit the application, default: %(default)s",
-            default=0x1d  # GS/CTRL+]
-            )
+            default=0x1d)  # GS/CTRL+]
 
     group.add_argument(
             "--menu-char",
             type=int,
             metavar='NUM',
             help="Unicode code of special character that is used to control miniterm (menu), default: %(default)s",
-            default=0x14  # Menu: CTRL+T
-            )
+            default=0x14)  # Menu: CTRL+T
 
     group = parser.add_argument_group("diagnostics")
 
@@ -859,8 +857,7 @@
                 key_description(miniterm.exit_character),
                 key_description(miniterm.menu_character),
                 key_description(miniterm.menu_character),
-                key_description('\x08'),
-                ))
+                key_description('\x08')))
 
     miniterm.start()
     try: