Skip to content

Commit fde25a0

Browse files
authored
Merge pull request #39 from adafruit/pylint-fix
Fixed linting
2 parents d145d07 + 511a5fe commit fde25a0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

adafruit_mcp3xxx/analog_in.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
The ADC chips supported by this library do not use negative numbers. If the resulting
1515
differential read is less than 0, then the returned integer value (and voltage value) is ``0``.
1616
If for some reason the voltage on a channel is greater than the reference voltage or
17-
less than 0, then the returned integer value is ``65472`` or ``0`` respectively.
17+
less than 0, then the returned integer value is ``65472`` or ``0`` respectively.
1818
1919
"""
2020

adafruit_mcp3xxx/mcp3xxx.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ class MCP3xxx:
5353
:param float ref_voltage: Voltage into (Vin) the ADC.
5454
"""
5555

56-
def __init__(self, spi_bus, cs, ref_voltage=3.3):
56+
def __init__(self, spi_bus, cs, ref_voltage=3.3): # pylint: disable=invalid-name
5757
self._spi_device = SPIDevice(spi_bus, cs)
5858
self._out_buf = bytearray(3)
5959
self._in_buf = bytearray(3)

0 commit comments

Comments
 (0)