|
67 | 67 | _REGISTER_CONFIG = const(0x1F)
|
68 | 68 | _REGISTER_CAL_DATA = const(0x31)
|
69 | 69 | _REGISTER_CMD = const(0x7E)
|
70 |
| -# pylint: enable=bad-whitespace |
71 | 70 |
|
72 | 71 | _OSR_SETTINGS = (1, 2, 4, 8, 16, 32) # pressure and temperature oversampling settings
|
73 | 72 | _IIR_SETTINGS = (0, 2, 4, 8, 16, 32, 64, 128) # IIR filter coefficients
|
@@ -151,7 +150,7 @@ def reset(self):
|
151 | 150 | def _read(self):
|
152 | 151 | """Returns a tuple for temperature and pressure."""
|
153 | 152 | # OK, pylint. This one is all kinds of stuff you shouldn't worry about.
|
154 |
| - # pylint: disable=bad-whitespace, invalid-name, too-many-locals |
| 153 | + # pylint: disable=invalid-name, too-many-locals |
155 | 154 |
|
156 | 155 | # Perform one measurement in forced mode
|
157 | 156 | self._write_register_byte(_REGISTER_CONTROL, 0x13)
|
@@ -197,7 +196,6 @@ def _read(self):
|
197 | 196 | return pressure, temperature
|
198 | 197 |
|
199 | 198 | def _read_coefficients(self):
|
200 |
| - # pylint: disable=bad-whitespace, bad-continuation |
201 | 199 | """Read & save the calibration coefficients"""
|
202 | 200 | coeff = self._read_register(_REGISTER_CAL_DATA, 21)
|
203 | 201 | # See datasheet, pg. 27, table 22
|
|
0 commit comments