Skip to content

Commit 68f3d7d

Browse files
committed
we're only getting better & better!
1 parent 65240fd commit 68f3d7d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

adafruit_mprls.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def __init__(self, i2c_bus, *, addr=_MPRLS_DEFAULT_ADDR,
8888
self._eoc.direction = Direction.INPUT
8989

9090
if psi_min >= psi_max:
91-
raise RuntimeError("Min PSI must be < max!")
91+
raise ValueError("Min PSI must be < max!")
9292
self._psimax = psi_max
9393
self._psimin = psi_min
9494
# That's pretty much it, there's no ID register :(

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
# Uncomment the below if you use native CircuitPython modules such as
2121
# digitalio, micropython and busio. List the modules you use. Without it, the
2222
# autodoc module docs will fail to generate with a warning.
23-
autodoc_mock_imports = ["digitalio", "busio", "micropython"]
23+
autodoc_mock_imports = ["digitalio", "micropython"]
2424

2525

2626
intersphinx_mapping = {'python': ('https://docs.python.org/3.4', None),'BusDevice': ('https://circuitpython.readthedocs.io/projects/busdevice/en/latest/', None),'CircuitPython': ('https://circuitpython.readthedocs.io/en/latest/', None)}

0 commit comments

Comments
 (0)