summaryrefslogtreecommitdiff
path: root/cameltris/screens/base_screen.py
diff options
context:
space:
mode:
authorOlivier Gayot <olivier.gayot@sigexec.com>2021-11-12 19:40:03 +0100
committerOlivier Gayot <olivier.gayot@sigexec.com>2021-11-12 19:41:32 +0100
commitc212b040b6850422b6b45da6181ce313dc786c4c (patch)
tree9b244dd73ed4f99f3bd2914f543df28b348f639c /cameltris/screens/base_screen.py
parent75cafb53ccc32afab3f15dfb5634874fd9500c84 (diff)
Rename base class screen module base_screen to make pylint happy
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
Diffstat (limited to 'cameltris/screens/base_screen.py')
-rw-r--r--cameltris/screens/base_screen.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/cameltris/screens/base_screen.py b/cameltris/screens/base_screen.py
new file mode 100644
index 0000000..87c15f4
--- /dev/null
+++ b/cameltris/screens/base_screen.py
@@ -0,0 +1,11 @@
+import abc
+
+
+class Screen(abc.ABC):
+ @abc.abstractmethod
+ def refresh(self) -> None:
+ pass
+
+ @abc.abstractmethod
+ def oneframe(self) -> None:
+ pass