]> Repositories - hackapet/Adafruit_Blinka_Displayio.git/commitdiff
type information
authorfoamyguy <foamyguy@gmail.com>
Sat, 14 May 2022 17:30:02 +0000 (12:30 -0500)
committerfoamyguy <foamyguy@gmail.com>
Sat, 14 May 2022 17:30:02 +0000 (12:30 -0500)
displayio/_tilegrid.py

index 35f5ac14ae48ee24e5a9ead38497630333347a60..999ddb225316fe993ae1ed6b527b3efeb5d877a3 100644 (file)
@@ -410,21 +410,21 @@ class TileGrid:
         self._tiles[index] = value
 
     @property
-    def width(self):
+    def width(self) -> int:
         """Width in tiles"""
         return self._width
 
     @property
-    def height(self):
+    def height(self) -> int:
         """Height in tiles"""
         return self._height
 
     @property
-    def tile_width(self):
+    def tile_width(self) -> int:
         """Width of each tile in pixels"""
         return self._tile_width
 
     @property
-    def tile_height(self):
+    def tile_height(self) -> int:
         """Height of each tile in pixels"""
         return self._tile_height