Skip to content

Commit 069c9c7

Browse files
committed
pylint
1 parent 95844ac commit 069c9c7

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

adafruit_ds3231.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,8 @@ def datetime(self, value):
120120

121121
@property
122122
def temperature(self):
123-
"""Returns the last temperature measurement. Temperature is updated only every 64 seconds, or when a conversion is forced."""
123+
"""Returns the last temperature measurement. Temperature is updated
124+
only every 64 seconds, or when a conversion is forced."""
124125
return self._temperature / 4
125126

126127
def force_conversion(self):
@@ -134,7 +135,11 @@ def force_conversion(self):
134135

135136
@property
136137
def calibration(self):
137-
"""Calibration values range from -128 to 127; each step is approximately 0.1ppm, and positive values decrease the frequency (increase the period). When set, a temperature conversion is forced so the result of calibration can be seen directly at the 32kHz pin after the next temperature conversion."""
138+
"""Calibration values range from -128 to 127; each step is
139+
approximately 0.1ppm, and positive values decrease the frequency
140+
(increase the period). When set, a temperature conversion is forced so
141+
the result of calibration can be seen directly at the 32kHz pin after
142+
the next temperature conversion."""
138143
return self._calibration
139144

140145
@calibration.setter

0 commit comments

Comments
 (0)