Commit graph

17 commits

Author SHA1 Message Date
dherrada
7000a21f17 Ran black, updated to pylint 2.x 2020-03-16 14:48:58 -04:00
Melissa LeBlanc-Williams
3cdc3b164d Linted 2019-05-21 18:56:27 -07:00
Melissa LeBlanc-Williams
a68c991fc0 Changed frozenset to list to work on Trinket 2019-05-21 18:55:09 -07:00
Jeff Raber
921d4f07d1 Remove unnecessary 'if' and 'else' in the pressure property
This causes a change in behavior when var1 == 0.  Previously, the property
would return 0.  Now it returns _BMP280_PRESSURE_MIN_HPA.  The
new behavior is the same as in the Bosch C driver.

This also makes pylint happy by remove the 'return after else'
2019-04-03 21:39:16 -05:00
Jeff Raber
e3bc8af436 Adopt changes from the BME280 library
Add Normal mode for continuous reading
2019-04-03 21:38:33 -05:00
Josh Gadeken
de9ec71631
Remove incompatible Pylint controls (Issue #8)
`#pylint: disable=useless-import-alias` is not supported in Pylint 1.9.2
2018-10-24 20:19:44 -06:00
Brennen Bearnes
88d1f0280b override some pylint defaults 2018-07-18 11:15:14 -06:00
Dan Halbert
f54af6f14b fix chip_id typo in RuntimError 2018-02-26 19:24:18 -05:00
Scott Shawcroft
1211c4393b Update to new build process and turn on lint.
I haven't tested these changes on device yet. Please only merge you test it or I follow up later to say its tested.

For https://github.com/adafruit/circuitpython/issues/475
2017-12-08 15:52:52 -08:00
mrmcwethy
5940d5f333 changed read_into to readinto 2017-11-08 13:53:00 -08:00
Scott Shawcroft
217a20f4ef Comment tweaks so the APIs appear in ReadTheDocs. https://circuitpython.readthedocs.io/projects/bmp280/en/latest/ 2017-10-31 10:31:46 -07:00
ladyada
fcf1089dfc woops typos didnt get commited 2017-10-27 11:12:57 -04:00
ladyada
060cb391be https://github.com/adafruit/Adafruit_CircuitPython_BMP280/issues/1 2017-10-27 11:11:27 -04:00
ladyada
15c1188c6f fixed pressure unit and example 2017-10-23 23:51:28 -04:00
ladyada
161d96146e ok done! 2017-10-23 23:49:46 -04:00
ladyada
e918d6607e compacter it seems! 2017-10-23 22:54:52 -04:00
ladyada
506e552210 tested & works over i2c - just about all memory used :/ 2017-10-23 01:44:39 -04:00