From 706eb353a053ae8711d7cc77fa65f5db70a4103f Mon Sep 17 00:00:00 2001 From: foamyguy Date: Sat, 14 May 2022 12:30:02 -0500 Subject: [PATCH] type information --- displayio/_tilegrid.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/displayio/_tilegrid.py b/displayio/_tilegrid.py index 35f5ac1..999ddb2 100644 --- a/displayio/_tilegrid.py +++ b/displayio/_tilegrid.py @@ -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 -- 2.49.0