From dabc7831539de970c1413bce278f2d6e62f9e08b Mon Sep 17 00:00:00 2001 From: Phil Howard Date: Thu, 13 Jun 2024 13:09:05 +0100 Subject: [PATCH] QA: Apply isort suggestions. --- examples/weather.py | 5 ++--- weatherhat/__init__.py | 6 +++--- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/examples/weather.py b/examples/weather.py index c9a50f2..303323b 100644 --- a/examples/weather.py +++ b/examples/weather.py @@ -1,16 +1,15 @@ #!/usr/bin/env python3 import math import pathlib -import time import select - +import time import gpiod import gpiodevice -from gpiod.line import Bias, Edge import st7789 import yaml from fonts.ttf import ManropeBold as UserFont +from gpiod.line import Bias, Edge from PIL import Image, ImageDraw, ImageFont import weatherhat diff --git a/weatherhat/__init__.py b/weatherhat/__init__.py index c9f53f9..744042f 100644 --- a/weatherhat/__init__.py +++ b/weatherhat/__init__.py @@ -1,13 +1,13 @@ import math +import select import threading import time -import select -import ioexpander as io import gpiod import gpiodevice -from gpiod.line import Bias, Edge +import ioexpander as io from bme280 import BME280 +from gpiod.line import Bias, Edge from ltr559 import LTR559 from smbus2 import SMBus