From c9c489c1990d039bb011813231bd755084912634 Mon Sep 17 00:00:00 2001 From: foamyguy Date: Wed, 3 Mar 2021 07:56:56 -0600 Subject: [PATCH 1/3] ignore imports in pylint --- .pylintrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pylintrc b/.pylintrc index 54a9d35..3c07cc6 100644 --- a/.pylintrc +++ b/.pylintrc @@ -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 From d12f2a1c5ea8385b0e483e2f292420d3e1a3b3aa Mon Sep 17 00:00:00 2001 From: Dylan Herrada <33632497+dherrada@users.noreply.github.com> Date: Wed, 3 Mar 2021 16:44:11 -0500 Subject: [PATCH 2/3] Corrected black and reuse --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d017d7b..354c761 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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 From eeddc8cf8334b3934861bf66246ae7860bf47677 Mon Sep 17 00:00:00 2001 From: foamyguy Date: Wed, 3 Mar 2021 18:36:35 -0600 Subject: [PATCH 3/3] run pre-commit black format --- adafruit_ms8607.py | 2 +- setup.py | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/adafruit_ms8607.py b/adafruit_ms8607.py index 70e1908..61c1092 100644 --- a/adafruit_ms8607.py +++ b/adafruit_ms8607.py @@ -119,7 +119,7 @@ class MS8607: """Library for the MS8607 Pressure Temperature and Humidity Sensor - :param ~busio.I2C i2c_bus: The I2C bus the MS8607 is connected to. + :param ~busio.I2C i2c_bus: The I2C bus the MS8607 is connected to. """ diff --git a/setup.py b/setup.py index 4e08593..5b3fedb 100644 --- a/setup.py +++ b/setup.py @@ -34,7 +34,10 @@ # Author details author="Adafruit Industries", author_email="circuitpython@adafruit.com", - install_requires=["Adafruit-Blinka", "adafruit-circuitpython-busdevice",], + install_requires=[ + "Adafruit-Blinka", + "adafruit-circuitpython-busdevice", + ], # Choose your license license="MIT", # See https://pypi.python.org/pypi?%3Aaction=list_classifiers