style: add flags for pylint
diff --git a/serial/urlhandler/protocol_hwgrep.py b/serial/urlhandler/protocol_hwgrep.py
index 824e6a8..9b3a082 100644
--- a/serial/urlhandler/protocol_hwgrep.py
+++ b/serial/urlhandler/protocol_hwgrep.py
@@ -26,11 +26,12 @@
 try:
     basestring
 except NameError:
-    basestring = str    # python 3
+    basestring = str    # python 3  pylint: disable=redefined-builtin
 
 
 class Serial(serial.Serial):
     """Just inherit the native Serial port implementation and patch the port property."""
+    # pylint: disable=no-member
 
     @serial.Serial.port.setter
     def port(self, value):