From 6bdd9de20cc26d456591bb698e832bacf982e2c1 Mon Sep 17 00:00:00 2001 From: Matthew Blau Date: Mon, 2 May 2022 09:07:10 -0600 Subject: [PATCH 1/2] added type annotation None --- adafruit_st7789.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/adafruit_st7789.py b/adafruit_st7789.py index 3b34441..bca7f24 100755 --- a/adafruit_st7789.py +++ b/adafruit_st7789.py @@ -41,7 +41,6 @@ """ import displayio - __version__ = "0.0.0-auto.0" __repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_ST7789.git" @@ -60,5 +59,5 @@ class ST7789(displayio.Display): """ST7789 driver""" - def __init__(self, bus, **kwargs): + def __init__(self, bus, **kwargs) -> None: super().__init__(bus, _INIT_SEQUENCE, **kwargs) From fb6a52f6a397c6e6d1239cf2099f9df2f451420b Mon Sep 17 00:00:00 2001 From: Matthew Blau Date: Mon, 2 May 2022 09:13:50 -0600 Subject: [PATCH 2/2] Re-added the space back --- adafruit_st7789.py | 1 + 1 file changed, 1 insertion(+) diff --git a/adafruit_st7789.py b/adafruit_st7789.py index bca7f24..b403375 100755 --- a/adafruit_st7789.py +++ b/adafruit_st7789.py @@ -41,6 +41,7 @@ """ import displayio + __version__ = "0.0.0-auto.0" __repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_ST7789.git"