Skip to content

Commit d6443ce

Browse files
committed
remove "abstract functions" and added pylint disable
1 parent fd30603 commit d6443ce

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

adafruit_rgb_display/rgb.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def high(self):
3636
pass
3737

3838

39-
class Display:
39+
class Display: #pylint: disable-msg=no-member
4040
"""Base class for all RGB display devices"""
4141
_PAGE_SET = None
4242
_COLUMN_SET = None
@@ -120,13 +120,6 @@ def vline(self, x, y, height, color):
120120
"""Draw a vertical line."""
121121
self.fill_rectangle(x, y, 1, height, color)
122122

123-
def write(self, command, data):
124-
"""Derived class must implement this"""
125-
raise NotImplementedError
126-
127-
def read(self, command, count):
128-
"""Derived class must implement this"""
129-
raise NotImplementedError
130123

131124
class DisplaySPI(Display):
132125
"""Base class for SPI type devices"""

0 commit comments

Comments
 (0)