Skip to content

Commit

Permalink
Merge pull request #59 from jepler/remove-bad-whitespace-directive
Browse files Browse the repository at this point in the history
remove bad-whitespace pylint directive
  • Loading branch information
dhalbert authored Aug 23, 2020
2 parents 1ffc009 + 8ec60b6 commit 5a71959
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions adafruit_ads1x15/ads1x15.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
from micropython import const
from adafruit_bus_device.i2c_device import I2CDevice

# pylint: disable=bad-whitespace
_ADS1X15_DEFAULT_ADDRESS = const(0x48)
_ADS1X15_POINTER_CONVERSION = const(0x00)
_ADS1X15_POINTER_CONFIG = const(0x01)
Expand All @@ -50,7 +49,6 @@
8: 0x0800,
16: 0x0A00,
}
# pylint: enable=bad-whitespace


class Mode:
Expand Down
2 changes: 0 additions & 2 deletions adafruit_ads1x15/analog_in.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,8 @@
* Author(s): Carter Nelson, adapted from MCP3xxx original by Brent Rubell
"""

# pylint: disable=bad-whitespace
_ADS1X15_DIFF_CHANNELS = {(0, 1): 0, (0, 3): 1, (1, 3): 2, (2, 3): 3}
_ADS1X15_PGA_RANGE = {2 / 3: 6.144, 1: 4.096, 2: 2.048, 4: 1.024, 8: 0.512, 16: 0.256}
# pylint: enable=bad-whitespace


class AnalogIn:
Expand Down

0 comments on commit 5a71959

Please sign in to comment.