Skip to content

Commit 0a13d60

Browse files
committed
pylint fix; realigned docstrings to appropriate positions
1 parent 598f180 commit 0a13d60

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

adafruit_avrprog.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,14 +56,17 @@
5656

5757
class AVRprog:
5858
"""
59-
Initialize the programmer with an SPI port that will be used to
60-
communicate with the chip. Make sure your SPI supports 'write_readinto'
61-
Also pass in a reset pin that will be used to get into programming mode
59+
Helper class used to program AVR chips from CircuitPython.
6260
"""
6361
_spi = None
6462
_rst = None
6563

6664
def init(self, spi_bus, rst_pin):
65+
"""
66+
Initialize the programmer with an SPI port that will be used to
67+
communicate with the chip. Make sure your SPI supports 'write_readinto'
68+
Also pass in a reset pin that will be used to get into programming mode
69+
"""
6770
self._spi = spi_bus
6871
self._rst = DigitalInOut(rst_pin)
6972
self._rst.direction = Direction.OUTPUT

0 commit comments

Comments
 (0)