Skip to content

Commit f9fe41d

Browse files
committed
QA: Apply isort suggestions.
1 parent 68edd1c commit f9fe41d

6 files changed

Lines changed: 11 additions & 6 deletions

File tree

bme680/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
"""BME680 Temperature, Pressure, Humidity & Gas Sensor."""
2-
from .constants import lookupTable1, lookupTable2
3-
from .constants import BME680Data
4-
from . import constants
52
import math
63
import time
74

5+
from . import constants
6+
from .constants import BME680Data, lookupTable1, lookupTable2
7+
88
__version__ = '1.1.1'
99

1010

examples/compensated-temperature.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
#!/usr/bin/env python
22

33
import time
4-
import bme680
54
from subprocess import PIPE, Popen
65

6+
import bme680
77

88
print("""compensated-temperature.py - Use the CPU temperature to compensate temperature
99
readings from the BME680 sensor. Method adapted from Initial State's Enviro pHAT

examples/indoor-air-quality.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
#!/usr/bin/env python
22

3-
import bme680
43
import time
54

5+
import bme680
6+
67
print("""indoor-air-quality.py - Estimates indoor air quality.
78
89
Runs the sensor for a burn-in period, then uses a

examples/read-all.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
#!/usr/bin/env python
22

3-
import bme680
43
import time
54

5+
import bme680
6+
67
print("""read-all.py - Displays temperature, pressure, humidity, and gas.
78
89
Press Ctrl+C to exit!

tests/conftest.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
import sys
2+
23
import mock
34
import pytest
5+
46
import bme680
57
from bme680.constants import CalibrationData
68

tests/test_setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import pytest
2+
23
import bme680
34

45

0 commit comments

Comments
 (0)