Skip to content

Commit 69ea3e9

Browse files
committed
Lint everything
1 parent dd5aa90 commit 69ea3e9

File tree

5 files changed

+10
-11
lines changed

5 files changed

+10
-11
lines changed

README.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,6 @@ Installing from PyPI
3131
.. note:: This library is not available on PyPI yet. Install documentation is included
3232
as a standard element. Stay tuned for PyPI availability!
3333

34-
.. todo:: Remove the above note if PyPI version is/will be available at time of release.
35-
If the library is not planned for PyPI, remove the entire 'Installing from PyPI' section.
36-
3734
On supported GNU/Linux systems like the Raspberry Pi, you can install the driver locally `from
3835
PyPI <https://pypi.org/project/adafruit-circuitpython-ssd1327/>`_. To install for current user:
3936

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
# Uncomment the below if you use native CircuitPython modules such as
2121
# digitalio, micropython and busio. List the modules you use. Without it, the
2222
# autodoc module docs will fail to generate with a warning.
23-
# autodoc_mock_imports = ["digitalio", "busio"]
23+
autodoc_mock_imports = ["displayio"]
2424

2525

2626
intersphinx_mapping = {'python': ('https://docs.python.org/3.4', None),'CircuitPython': ('https://circuitpython.readthedocs.io/en/latest/', None)}

docs/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Table of Contents
2626
.. toctree::
2727
:caption: Related Products
2828

29-
128x128, General 1.5inch OLED display Module <https://www.waveshare.com/1.5inch-oled-module.htm>
29+
Waveshare 128x128 1.5inch OLED display Module <https://www.waveshare.com/1.5inch-oled-module.htm>
3030

3131
.. toctree::
3232
:caption: Other Links

examples/ssd1327_gamma.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1+
import time
12
import board
3+
import busio
24
import displayio
35
import adafruit_ssd1327
4-
import busio
5-
import time
66

77
displayio.release_displays()
88

@@ -12,7 +12,8 @@
1212
tft_dc = board.D9
1313
tft_reset = board.D5
1414

15-
display_bus = displayio.FourWire(spi, command=tft_dc, chip_select=tft_cs, reset=tft_reset, baudrate=1000000)
15+
display_bus = displayio.FourWire(spi, command=tft_dc, chip_select=tft_cs, reset=tft_reset,
16+
baudrate=1000000)
1617
time.sleep(1)
1718
display = adafruit_ssd1327.SSD1327(display_bus, width=128, height=128)
1819

examples/ssd1327_simpletest.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1+
import time
12
import board
3+
import busio
24
import displayio
35
import adafruit_ssd1327
4-
import busio
5-
import time
66

77
displayio.release_displays()
88

@@ -12,6 +12,7 @@
1212
tft_dc = board.D9
1313
tft_reset = board.D5
1414

15-
display_bus = displayio.FourWire(spi, command=tft_dc, chip_select=tft_cs, reset=tft_reset, baudrate=1000000)
15+
display_bus = displayio.FourWire(spi, command=tft_dc, chip_select=tft_cs, reset=tft_reset,
16+
baudrate=1000000)
1617
time.sleep(1)
1718
display = adafruit_ssd1327.SSD1327(display_bus, width=128, height=128)

0 commit comments

Comments
 (0)