drivers/sensor/mcp9808: Add MCP9808 temperature sensor driver. #545
Annotations
10 errors and 1 warning
Ruff (W291):
micropython/drivers/sensor/mcp9808/mcp9808.py#L33
micropython/drivers/sensor/mcp9808/mcp9808.py:33:95: W291 Trailing whitespace
|
Ruff (W291):
micropython/drivers/sensor/mcp9808/mcp9808.py#L35
micropython/drivers/sensor/mcp9808/mcp9808.py:35:89: W291 Trailing whitespace
|
Ruff (W291):
micropython/drivers/sensor/mcp9808/mcp9808.py#L64
micropython/drivers/sensor/mcp9808/mcp9808.py:64:42: W291 Trailing whitespace
|
Ruff (E712):
micropython/drivers/sensor/mcp9808/mcp9808.py#L159
micropython/drivers/sensor/mcp9808/mcp9808.py:159:52: E712 Comparison to `True` should be `cond is True` or `if cond:`
|
Ruff (E712):
micropython/drivers/sensor/mcp9808/mcp9808.py#L310
micropython/drivers/sensor/mcp9808/mcp9808.py:310:38: E712 Comparison to `True` should be `cond is True` or `if cond:`
|
Ruff (PYI041):
micropython/drivers/sensor/mcp9808/mcp9808.py#L335
micropython/drivers/sensor/mcp9808/mcp9808.py:335:39: PYI041 Use `float` instead of `int | float`
|
Ruff (E713):
micropython/drivers/sensor/mcp9808/mcp9808.py#L353
micropython/drivers/sensor/mcp9808/mcp9808.py:353:16: E713 Test for membership should be `not in`
|
Ruff (E712):
micropython/drivers/sensor/mcp9808/mcp9808.py#L359
micropython/drivers/sensor/mcp9808/mcp9808.py:359:60: E712 Comparison to `True` should be `cond is True` or `if cond:`
|
Ruff (PYI041):
micropython/drivers/sensor/mcp9808/mcp9808.py#L508
micropython/drivers/sensor/mcp9808/mcp9808.py:508:50: PYI041 Use `float` instead of `int | float`
|
Ruff (PYI041):
micropython/drivers/sensor/mcp9808/mcp9808.py#L525
micropython/drivers/sensor/mcp9808/mcp9808.py:525:50: PYI041 Use `float` instead of `int | float`
|
ruff
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|