Skip to content

Commit 5eb76db

Browse files
committed
Fix long lines for pre-commit
1 parent 589f217 commit 5eb76db

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

adafruit_max1704x.py

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -208,15 +208,21 @@ def hibernation_threshold(self, threshold_percent):
208208
def hibernate(self):
209209
"""Setup thresholds for hibernation to go into hibernation mode immediately.
210210
211-
See datasheet: HIBRT Register (0x0A) To disable hibernate mode, set HIBRT = 0x0000. To
212-
always use hibernate mode, set HIBRT = 0xFFFF. Can check status with :py:attr:`hibernating`"""
211+
See datasheet: HIBRT Register (0x0A) To disable hibernate mode, set
212+
HIBRT = 0x0000. To always use hibernate mode, set HIBRT = 0xFFFF.
213+
Can check status with :py:attr:`hibernating`
214+
"""
215+
213216
self._hibrt_hibthr = 0xFF
214217
self._hibrt_actthr = 0xFF
215218

216219
def wake(self):
217220
"""Setup thresholds for hibernation to leave hibernation mode immediately.
218221
219-
See datasheet: HIBRT Register (0x0A) To disable hibernate mode, set HIBRT = 0x0000. To
220-
always use hibernate mode, set HIBRT = 0xFFFF. Can check status with :py:attr:`hibernating`"""
222+
See datasheet: HIBRT Register (0x0A) To disable hibernate mode, set
223+
HIBRT = 0x0000. To always use hibernate mode, set HIBRT = 0xFFFF.
224+
Can check status with :py:attr:`hibernating`
225+
"""
226+
221227
self._hibrt_hibthr = 0
222228
self._hibrt_actthr = 0

0 commit comments

Comments
 (0)