Skip to content

Commit 568680f

Browse files
authored
Merge pull request #7 from adafruit/linting
Linted
2 parents 4aef157 + 8aae582 commit 568680f

File tree

2 files changed

+7
-10
lines changed

2 files changed

+7
-10
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ jobs:
2222
awk -F '\/' '{ print tolower($2) }' |
2323
tr '_' '-'
2424
)
25-
- name: Set up Python 3.6
25+
- name: Set up Python 3.7
2626
uses: actions/setup-python@v1
2727
with:
28-
python-version: 3.6
28+
python-version: 3.7
2929
- name: Versions
3030
run: |
3131
python3 --version

examples/ov7670_displayio_pico_st7789_2in.py

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,6 @@
88
"""
99

1010
import time
11-
from adafruit_ov7670 import (
12-
OV7670,
13-
OV7670_SIZE_DIV1,
14-
OV7670_SIZE_DIV16,
15-
OV7670_TEST_PATTERN_COLOR_BAR,
16-
OV7670_TEST_PATTERN_SHIFTING_1,
17-
OV7670_TEST_PATTERN_COLOR_BAR_FADE,
18-
)
1911
from displayio import (
2012
Bitmap,
2113
Group,
@@ -29,6 +21,11 @@
2921
import board
3022
import busio
3123
import digitalio
24+
from adafruit_ov7670 import (
25+
OV7670,
26+
OV7670_SIZE_DIV1,
27+
OV7670_SIZE_DIV16,
28+
)
3229

3330
# Set up the display (You must customize this block for your display!)
3431
release_displays()

0 commit comments

Comments
 (0)