Skip to content

Commit 6212f56

Browse files
committed
some linting
1 parent 31d4e04 commit 6212f56

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

README.rst

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Introduction
1313
:target: https://travis-ci.com/adafruit/Adafruit_CircuitPython_NeoPixel_SPI
1414
:alt: Build Status
1515

16-
SPI driven CircuitPython driver for neopixels.
16+
SPI driven CircuitPython driver for NeoPixels.
1717

1818

1919
Dependencies
@@ -29,11 +29,6 @@ This is easily achieved by downloading
2929

3030
Installing from PyPI
3131
=====================
32-
.. note:: This library is not available on PyPI yet. Install documentation is included
33-
as a standard element. Stay tuned for PyPI availability!
34-
35-
.. todo:: Remove the above note if PyPI version is/will be available at time of release.
36-
If the library is not planned for PyPI, remove the entire 'Installing from PyPI' section.
3732

3833
On supported GNU/Linux systems like the Raspberry Pi, you can install the driver locally `from
3934
PyPI <https://pypi.org/project/adafruit-circuitpython-neopixel_spi/>`_. To install for current user:
@@ -60,7 +55,13 @@ To install in a virtual environment in your current project:
6055
Usage Example
6156
=============
6257

63-
.. todo:: Add a quick, simple example. It and other examples should live in the examples folder and be included in docs/examples.rst.
58+
.. code-block:: python
59+
60+
import board
61+
import neopixel
62+
63+
pixels = neopixel.NeoPixel_SPI(board.SPI(), 10)
64+
pixels.fill(0xff0000)
6465
6566
Contributing
6667
============

neopixel_spi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
* Adafruit's Bus Device library: https://github.com/adafruit/Adafruit_CircuitPython_BusDevice
4444
"""
4545

46-
from neopixel import *
46+
from neopixel import neopixel, RGB, GRB, RGBW, GRBW
4747

4848
__version__ = "0.0.0-auto.0"
4949
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_NeoPixel_SPI.git"

0 commit comments

Comments
 (0)