From 4b1b60340c14733780e610e29a657443e0729b09 Mon Sep 17 00:00:00 2001 From: foamyguy Date: Wed, 3 Mar 2021 07:50:21 -0600 Subject: [PATCH 1/3] ignore imports in pylintrc --- .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 bb9e964715d133d7836ce91cda2527c5f3cd638c Mon Sep 17 00:00:00 2001 From: Dylan Herrada <33632497+dherrada@users.noreply.github.com> Date: Wed, 3 Mar 2021 16:43:23 -0500 Subject: [PATCH 2/3] Corrected black and reuse versions --- .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 964f620b2c35e289d8477570fe95b122c1b57bf1 Mon Sep 17 00:00:00 2001 From: foamyguy Date: Mon, 8 Mar 2021 11:51:32 -0600 Subject: [PATCH 3/3] black code format --- adafruit_monsterm4sk.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/adafruit_monsterm4sk.py b/adafruit_monsterm4sk.py index e2321b1..b83daae 100644 --- a/adafruit_monsterm4sk.py +++ b/adafruit_monsterm4sk.py @@ -57,15 +57,15 @@ class MonsterM4sk: """Represents a single Monster M4sk - The terms "left" and "right" are always used from the - perspective of looking out of the mask. - The right screen is the one USB port directly above it. - """ + The terms "left" and "right" are always used from the + perspective of looking out of the mask. + The right screen is the one USB port directly above it. + """ def __init__(self, i2c=None): """ - :param i2c: The I2C bus to use, will try board.I2C() - if not supplied + :param i2c: The I2C bus to use, will try board.I2C() + if not supplied """ displayio.release_displays()