style: some of the suggestions from flake8 and pylint
diff --git a/serial/serialposix.py b/serial/serialposix.py
index 7e432c7..c920cbe 100644
--- a/serial/serialposix.py
+++ b/serial/serialposix.py
@@ -12,6 +12,7 @@
#
# references: http://www.easysw.com/~mike/serial/serial.html
+# pylint: disable=abstract-method
import errno
import fcntl
import os
@@ -436,9 +437,9 @@
# activate settings
if force_update or [iflag, oflag, cflag, lflag, ispeed, ospeed, cc] != orig_attr:
termios.tcsetattr(
- self.fd,
- termios.TCSANOW,
- [iflag, oflag, cflag, lflag, ispeed, ospeed, cc])
+ self.fd,
+ termios.TCSANOW,
+ [iflag, oflag, cflag, lflag, ispeed, ospeed, cc])
# apply custom baud rate, if any
if custom_baud is not None: