Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@

repos:
- repo: https://github.com/python/black
rev: 19.10b0
rev: 20.8b1
hooks:
- id: black
- repo: https://github.com/fsfe/reuse-tool
rev: latest
rev: v0.12.1
hooks:
- id: reuse
- repo: https://github.com/pre-commit/pre-commit-hooks
Expand Down
2 changes: 1 addition & 1 deletion .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ ignore-comments=yes
ignore-docstrings=yes

# Ignore imports when computing similarities.
ignore-imports=no
ignore-imports=yes

# Minimum lines number of a similarity.
min-similarity-lines=4
Expand Down
7 changes: 3 additions & 4 deletions adafruit_as7341.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,8 +200,8 @@ class AS7341: # pylint:disable=too-many-instance-attributes
"""Library for the AS7341 Sensor


:param ~busio.I2C i2c_bus: The I2C bus the AS7341 is connected to.
:param address: The I2C address of the sensor
:param ~busio.I2C i2c_bus: The I2C bus the AS7341 is connected to.
:param address: The I2C address of the sensor

"""

Expand Down Expand Up @@ -583,8 +583,7 @@ def _set_smux(self, smux_addr, smux_out1, smux_out2):

@property
def gain(self):
"""The ADC gain multiplier. Must be a valid `adafruit_as7341.Gain`
"""
"""The ADC gain multiplier. Must be a valid `adafruit_as7341.Gain`"""
return self._gain

@gain.setter
Expand Down