@@ -177,15 +177,15 @@ def _write_ctrl_meas(self):
177177 self ._write_register_byte (_REGISTER_CTRL_MEAS , self ._ctrl_meas )
178178
179179 def _get_status (self ):
180- """Get the value from the status register in the device """
180+ """Get the value from the status register in the device"""
181181 return self ._read_byte (_REGISTER_STATUS )
182182
183183 def _read_config (self ):
184- """Read the value from the config register in the device """
184+ """Read the value from the config register in the device"""
185185 return self ._read_byte (_REGISTER_CONFIG )
186186
187187 def _write_config (self ):
188- """Write the value to the config register in the device """
188+ """Write the value to the config register in the device"""
189189 normal_flag = False
190190 if self ._mode == MODE_NORMAL :
191191 # Writes to the config register may be ignored while in Normal mode
@@ -274,7 +274,7 @@ def iir_filter(self, value):
274274
275275 @property
276276 def _config (self ):
277- """Value to be written to the device's config register """
277+ """Value to be written to the device's config register"""
278278 config = 0
279279 if self .mode == MODE_NORMAL :
280280 config += self ._t_standby << 5
@@ -284,7 +284,7 @@ def _config(self):
284284
285285 @property
286286 def _ctrl_meas (self ):
287- """Value to be written to the device's ctrl_meas register """
287+ """Value to be written to the device's ctrl_meas register"""
288288 ctrl_meas = self .overscan_temperature << 5
289289 ctrl_meas += self .overscan_pressure << 2
290290 ctrl_meas += self .mode
0 commit comments