Skip to content

Commit

Permalink
Merge pull request #29 from tekktrik/main
Browse files Browse the repository at this point in the history
Fixed pylint issues
  • Loading branch information
dhalbert committed May 11, 2023
2 parents 8159b49 + d6a234e commit a174ae6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adafruit_fxas21002c.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def __init__(
GYRO_RANGE_1000DPS,
GYRO_RANGE_2000DPS,
):
raise Exception("gyro_range option selected is not a valid option")
raise ValueError("gyro_range option selected is not a valid option")
self._gyro_range = gyro_range
self._device = i2c_dev.I2CDevice(i2c, address)
# Check for chip ID value.
Expand Down

0 comments on commit a174ae6

Please sign in to comment.