Skip to content

Commit 718615b

Browse files
authored
Merge pull request #23 from jepler/remove-bad-whitespace-directive
remove bad-whitespace pylint directive
2 parents 87b8438 + 6ad3cdd commit 718615b

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

adafruit_vl53l0x.py

-3
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@
5555
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_VL53L0X.git"
5656

5757
# Configuration constants:
58-
# pylint: disable=bad-whitespace
5958
_SYSRANGE_START = const(0x00)
6059
_SYSTEM_THRESH_HIGH = const(0x0C)
6160
_SYSTEM_THRESH_LOW = const(0x0E)
@@ -116,7 +115,6 @@
116115
_ALGO_PHASECAL_CONFIG_TIMEOUT = const(0x30)
117116
_VCSEL_PERIOD_PRE_RANGE = const(0)
118117
_VCSEL_PERIOD_FINAL_RANGE = const(1)
119-
# pylint: enable=bad-whitespace
120118

121119

122120
def _decode_timeout(val):
@@ -409,7 +407,6 @@ def _get_vcsel_pulse_period(self, vcsel_period_type):
409407
def _get_sequence_step_enables(self):
410408
# based on VL53L0X_GetSequenceStepEnables() from ST API
411409
sequence_config = self._read_u8(_SYSTEM_SEQUENCE_CONFIG)
412-
# pylint: disable=bad-whitespace
413410
tcc = (sequence_config >> 4) & 0x1 > 0
414411
dss = (sequence_config >> 3) & 0x1 > 0
415412
msrc = (sequence_config >> 2) & 0x1 > 0

0 commit comments

Comments
 (0)