Skip to content

Commit 6429974

Browse files
committed
fix import order complaints
1 parent 1c21428 commit 6429974

File tree

4 files changed

+4
-8
lines changed

4 files changed

+4
-8
lines changed

examples/bonnet_buttons.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,10 @@
1919
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2020
# THE SOFTWARE.
2121

22-
from PIL import Image, ImageDraw
23-
2422
import board
2523
import busio
2624
from digitalio import DigitalInOut, Direction, Pull
25+
from PIL import Image, ImageDraw
2726
import adafruit_ssd1306
2827

2928
# Create the I2C interface.

examples/pillow_animate.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,9 @@
2121

2222
import math
2323
import time
24-
from PIL import Image, ImageDraw, ImageFont
25-
2624
from board import SCL, SDA
2725
import busio
26+
from PIL import Image, ImageDraw, ImageFont
2827
import adafruit_ssd1306
2928

3029
# Create the I2C interface.

examples/pillow_images.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,9 @@
1919
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2020
# THE SOFTWARE.
2121

22-
from PIL import Image
23-
2422
from board import SCL, SDA
2523
import busio
24+
from PIL import Image
2625
import adafruit_ssd1306
2726

2827
# Create the I2C interface.

examples/stats.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,13 @@
2626

2727
import time
2828
import subprocess
29-
from PIL import Image, ImageDraw, ImageFont
3029

3130
from board import SCL, SDA
3231
import busio
32+
from PIL import Image, ImageDraw, ImageFont
3333
import adafruit_ssd1306
3434

3535

36-
3736
# Create the I2C interface.
3837
i2c = busio.I2C(SCL, SDA)
3938

0 commit comments

Comments
 (0)