Skip to content

Commit 582055a

Browse files
committed
fixing black
1 parent f41eeaa commit 582055a

File tree

1 file changed

+46
-47
lines changed

1 file changed

+46
-47
lines changed

adafruit_ltr390.py

Lines changed: 46 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -109,19 +109,19 @@ def is_valid(cls, value):
109109
class Gain(CV):
110110
"""Options for `gain`
111111
112-
+---------------------------+----------------------------+
113-
| Gain | Raw Measurement Multiplier |
114-
+===========================+============================+
115-
| :py:const:`Gain.GAIN_1X` | 1 |
116-
+---------------------------+----------------------------+
117-
| :py:const:`Gain.GAIN_3X` | 3 |
118-
+---------------------------+----------------------------+
119-
| :py:const:`Gain.GAIN_6X` | 6 |
120-
+---------------------------+----------------------------+
121-
| :py:const:`Gain.GAIN_9X` | 9 |
122-
+---------------------------+----------------------------+
123-
| :py:const:`Gain.GAIN_18X` | 18 |
124-
+---------------------------+----------------------------+
112+
+---------------------------+----------------------------+
113+
| Gain | Raw Measurement Multiplier |
114+
+===========================+============================+
115+
| :py:const:`Gain.GAIN_1X` | 1 |
116+
+---------------------------+----------------------------+
117+
| :py:const:`Gain.GAIN_3X` | 3 |
118+
+---------------------------+----------------------------+
119+
| :py:const:`Gain.GAIN_6X` | 6 |
120+
+---------------------------+----------------------------+
121+
| :py:const:`Gain.GAIN_9X` | 9 |
122+
+---------------------------+----------------------------+
123+
| :py:const:`Gain.GAIN_18X` | 18 |
124+
+---------------------------+----------------------------+
125125
126126
"""
127127

@@ -140,24 +140,23 @@ class Gain(CV):
140140
class Resolution(CV):
141141
"""Options for `resolution`
142142
143-
+-----------------------------------------+------------------------------------------------------+
144-
| Resolution | Internal ADC Resolution |
145-
+=========================================+======================================================+
146-
| :py:const:`Resolution.RESOLUTION_13BIT` | 13 bits |
147-
+-----------------------------------------+------------------------------------------------------+
148-
| :py:const:`Resolution.RESOLUTION_16BIT` | 16 bits |
149-
+-----------------------------------------+------------------------------------------------------+
150-
| :py:const:`Resolution.RESOLUTION_17BIT` | 17 bits |
151-
+-----------------------------------------+------------------------------------------------------+
152-
| :py:const:`Resolution.RESOLUTION_18BIT` | 18 bits |
153-
+-----------------------------------------+------------------------------------------------------+
154-
| :py:const:`Resolution.RESOLUTION_19BIT` | 19 bits |
155-
+-----------------------------------------+------------------------------------------------------+
156-
| :py:const:`Resolution.RESOLUTION_20BIT` | 20 bits |
157-
+-----------------------------------------+------------------------------------------------------+
143+
+-----------------------------------------+-------------------------+
144+
| Resolution | Internal ADC Resolution |
145+
+=========================================+=========================+
146+
| :py:const:`Resolution.RESOLUTION_13BIT` | 13 bits |
147+
+-----------------------------------------+-------------------------+
148+
| :py:const:`Resolution.RESOLUTION_16BIT` | 16 bits |
149+
+-----------------------------------------+-------------------------+
150+
| :py:const:`Resolution.RESOLUTION_17BIT` | 17 bits |
151+
+-----------------------------------------+-------------------------+
152+
| :py:const:`Resolution.RESOLUTION_18BIT` | 18 bits |
153+
+-----------------------------------------+-------------------------+
154+
| :py:const:`Resolution.RESOLUTION_19BIT` | 19 bits |
155+
+-----------------------------------------+-------------------------+
156+
| :py:const:`Resolution.RESOLUTION_20BIT` | 20 bits |
157+
+-----------------------------------------+-------------------------+
158158
159-
160-
"""
159+
"""
161160

162161

163162
Resolution.add_values(
@@ -175,23 +174,23 @@ class Resolution(CV):
175174
class MeasurementDelay(CV):
176175
"""Options for `measurement_delay`
177176
178-
+-------------------------------------------+--------------------------------------+
179-
| MeasurementDelay | Time Between Measurement Cycles (ms) |
180-
+===========================================+======================================+
181-
| :py:const:`MeasurementDelay.DELAY_25MS` | 25 |
182-
+-------------------------------------------+--------------------------------------+
183-
| :py:const:`MeasurementDelay.DELAY_50MS` | 50 |
184-
+-------------------------------------------+--------------------------------------+
185-
| :py:const:`MeasurementDelay.DELAY_100MS` | 100 |
186-
+-------------------------------------------+--------------------------------------+
187-
| :py:const:`MeasurementDelay.DELAY_200MS` | 200 |
188-
+-------------------------------------------+--------------------------------------+
189-
| :py:const:`MeasurementDelay.DELAY_500MS` | 500 |
190-
+-------------------------------------------+--------------------------------------+
191-
| :py:const:`MeasurementDelay.DELAY_1000MS` | 1000 |
192-
+-------------------------------------------+--------------------------------------+
193-
| :py:const:`MeasurementDelay.DELAY_2000MS` | 2000 |
194-
+-------------------------------------------+--------------------------------------+
177+
+-------------------------------------------+--------------------------------------+
178+
| MeasurementDelay | Time Between Measurement Cycles (ms) |
179+
+===========================================+======================================+
180+
| :py:const:`MeasurementDelay.DELAY_25MS` | 25 |
181+
+-------------------------------------------+--------------------------------------+
182+
| :py:const:`MeasurementDelay.DELAY_50MS` | 50 |
183+
+-------------------------------------------+--------------------------------------+
184+
| :py:const:`MeasurementDelay.DELAY_100MS` | 100 |
185+
+-------------------------------------------+--------------------------------------+
186+
| :py:const:`MeasurementDelay.DELAY_200MS` | 200 |
187+
+-------------------------------------------+--------------------------------------+
188+
| :py:const:`MeasurementDelay.DELAY_500MS` | 500 |
189+
+-------------------------------------------+--------------------------------------+
190+
| :py:const:`MeasurementDelay.DELAY_1000MS` | 1000 |
191+
+-------------------------------------------+--------------------------------------+
192+
| :py:const:`MeasurementDelay.DELAY_2000MS` | 2000 |
193+
+-------------------------------------------+--------------------------------------+
195194
196195
"""
197196

0 commit comments

Comments
 (0)