From 4ff6ea8df7162f0b623273ca6fb7926c59cacb43 Mon Sep 17 00:00:00 2001 From: Jeff Epler Date: Wed, 9 Sep 2020 11:35:49 -0500 Subject: [PATCH] move imports to satisfy pylint --- examples/mlx90640_camtest.py | 4 ++-- examples/mlx90640_pil.py | 2 +- examples/mlx90640_pygamer.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/mlx90640_camtest.py b/examples/mlx90640_camtest.py index 82c1ae4..8d4ea54 100644 --- a/examples/mlx90640_camtest.py +++ b/examples/mlx90640_camtest.py @@ -6,10 +6,10 @@ import math import time import argparse -import board -import busio from PIL import Image import pygame +import board +import busio import adafruit_mlx90640 diff --git a/examples/mlx90640_pil.py b/examples/mlx90640_pil.py index a940695..3ff7300 100644 --- a/examples/mlx90640_pil.py +++ b/examples/mlx90640_pil.py @@ -2,9 +2,9 @@ It will not work on microcontrollers running CircuitPython!""" import math +from PIL import Image import board import adafruit_mlx90640 -from PIL import Image FILENAME = "mlx.jpg" diff --git a/examples/mlx90640_pygamer.py b/examples/mlx90640_pygamer.py index 6b22401..31c72ab 100644 --- a/examples/mlx90640_pygamer.py +++ b/examples/mlx90640_pygamer.py @@ -1,11 +1,11 @@ import time import board import busio -import adafruit_mlx90640 import displayio import terminalio from adafruit_display_text.label import Label from simpleio import map_range +import adafruit_mlx90640 number_of_colors = 64 # Number of color in the gradian last_color = number_of_colors - 1 # Last color in palette