Skip to content

Commit 5a5f6eb

Browse files
authored
Merge pull request #6 from FoamyGuy/pylintrc
ignore imports in pylint
2 parents ae95726 + eeddc8c commit 5a5f6eb

File tree

4 files changed

+8
-5
lines changed

4 files changed

+8
-5
lines changed

.pre-commit-config.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44

55
repos:
66
- repo: https://github.com/python/black
7-
rev: 19.10b0
7+
rev: 20.8b1
88
hooks:
99
- id: black
1010
- repo: https://github.com/fsfe/reuse-tool
11-
rev: latest
11+
rev: v0.12.1
1212
hooks:
1313
- id: reuse
1414
- repo: https://github.com/pre-commit/pre-commit-hooks

.pylintrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ ignore-comments=yes
250250
ignore-docstrings=yes
251251

252252
# Ignore imports when computing similarities.
253-
ignore-imports=no
253+
ignore-imports=yes
254254

255255
# Minimum lines number of a similarity.
256256
min-similarity-lines=4

adafruit_ms8607.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ class MS8607:
119119
"""Library for the MS8607 Pressure Temperature and Humidity Sensor
120120
121121
122-
:param ~busio.I2C i2c_bus: The I2C bus the MS8607 is connected to.
122+
:param ~busio.I2C i2c_bus: The I2C bus the MS8607 is connected to.
123123
124124
"""
125125

setup.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,10 @@
3434
# Author details
3535
author="Adafruit Industries",
3636
author_email="[email protected]",
37-
install_requires=["Adafruit-Blinka", "adafruit-circuitpython-busdevice",],
37+
install_requires=[
38+
"Adafruit-Blinka",
39+
"adafruit-circuitpython-busdevice",
40+
],
3841
# Choose your license
3942
license="MIT",
4043
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers

0 commit comments

Comments
 (0)