Towards mypy cleanliness.
[kiosk.git] / trigger.py
index e75222c87013ec753c3c6297b2a04f9b7c8c306d..f2302da6f8ac39215dafedd9fd8f1d3926119d0c 100644 (file)
@@ -1,7 +1,7 @@
 #!/usr/bin/env python3
 
 from abc import ABC, abstractmethod
-from typing import Tuple
+from typing import List, Tuple
 
 
 class trigger(ABC):
@@ -12,5 +12,5 @@ class trigger(ABC):
     PRIORITY_LOW = 0
 
     @abstractmethod
-    def get_triggered_page_list(self) -> Tuple[str, int]:
+    def get_triggered_page_list(self) -> List[Tuple[str, int]]:
         pass