summaryrefslogtreecommitdiff
path: root/cameltris/screens/screen.py
diff options
context:
space:
mode:
authorOlivier Gayot <olivier.gayot@sigexec.com>2021-11-12 14:15:43 +0100
committerOlivier Gayot <olivier.gayot@sigexec.com>2021-11-12 14:19:43 +0100
commit8f82ba5acd095b78fcec9d63f2977c04c778f02b (patch)
tree1d7c574a6c9f5e4217b62e51106c677186aee256 /cameltris/screens/screen.py
parent4df942db913383d2b2c829f8b89c306a1f75cd9d (diff)
Update name of screen modules according to PEP8
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
Diffstat (limited to 'cameltris/screens/screen.py')
-rw-r--r--cameltris/screens/screen.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/cameltris/screens/screen.py b/cameltris/screens/screen.py
new file mode 100644
index 0000000..419c1d2
--- /dev/null
+++ b/cameltris/screens/screen.py
@@ -0,0 +1,12 @@
+import abc
+
+
+class Screen(abc.ABC):
+ @abc.abstractmethod
+ def refresh(self) -> None:
+ pass
+
+ @abc.abstractmethod
+ def oneframe(self) -> None:
+ pass
+