Skip to content

Commit 47a6c3f

Browse files
committed
remove bad-whitespace pylint directive
1 parent 2505ceb commit 47a6c3f

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

adafruit_max31865.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@
5858
__version__ = "0.0.0-auto.0"
5959
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_MAX31865.git"
6060

61-
# pylint: disable=bad-whitespace
6261
# Register and other constant values:
6362
_MAX31865_CONFIG_REG = const(0x00)
6463
_MAX31865_CONFIG_BIAS = const(0x80)
@@ -85,7 +84,6 @@
8584
_MAX31865_FAULT_OVUV = const(0x04)
8685
_RTD_A = 3.9083e-3
8786
_RTD_B = -5.775e-7
88-
# pylint: enable=bad-whitespace
8987

9088

9189
class MAX31865:
@@ -203,14 +201,12 @@ def fault(self):
203201
- OVUV
204202
"""
205203
faults = self._read_u8(_MAX31865_FAULTSTAT_REG)
206-
# pylint: disable=bad-whitespace
207204
highthresh = bool(faults & _MAX31865_FAULT_HIGHTHRESH)
208205
lowthresh = bool(faults & _MAX31865_FAULT_LOWTHRESH)
209206
refinlow = bool(faults & _MAX31865_FAULT_REFINLOW)
210207
refinhigh = bool(faults & _MAX31865_FAULT_REFINHIGH)
211208
rtdinlow = bool(faults & _MAX31865_FAULT_RTDINLOW)
212209
ovuv = bool(faults & _MAX31865_FAULT_OVUV)
213-
# pylint: enable=bad-whitespace
214210
return (highthresh, lowthresh, refinlow, refinhigh, rtdinlow, ovuv)
215211

216212
def clear_faults(self):

0 commit comments

Comments
 (0)