Skip to content

Commit 1a54aad

Browse files
author
Mariusz Karpiarz
committed
Fix formatting in the docstring of the VEML6075 class
Lines need to be indented for the autodoc extension to recognise them as part of the same `param`.
1 parent 46cd3f8 commit 1a54aad

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

adafruit_veml6075.py

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -56,14 +56,15 @@
5656
class VEML6075:
5757
"""
5858
Driver base for the VEML6075 UV Light Sensor
59+
5960
:param i2c_bus: The `busio.I2C` object to use. This is the only required parameter.
60-
:param int integration_time: The integration time you'd like to set initially. Availble
61-
options - each in milliseconds: 50, 100, 200, 400, 800.
62-
The higher the '_x_' value, the more accurate
63-
the reading is (at the cost of less samples per reading).
64-
Defaults to 100ms if parameter not passed. To change
65-
setting after intialization, use
66-
``[veml6075].integration_time = new_it_value``.
61+
:param int integration_time: The integration time you'd like to set initially. Available
62+
options - each in milliseconds: 50, 100, 200, 400, 800.
63+
The higher the '_x_' value, the more accurate
64+
the reading is (at the cost of less samples per reading).
65+
Defaults to 100ms if parameter not passed. To change
66+
setting after intialization, use
67+
``[veml6075].integration_time = new_it_value``.
6768
:param bool high_dynamic: whether to put sensor in 'high dynamic setting' mode
6869
:param float uva_a_coef: the UVA visible coefficient
6970
:param float uva_b_coef: the UVA IR coefficient

0 commit comments

Comments
 (0)