From bf0cdc66803a9dea3e6dc3cc885c4e108874e000 Mon Sep 17 00:00:00 2001 From: brentru Date: Tue, 2 Apr 2024 17:07:56 -0400 Subject: [PATCH] lint2 --- .../microcontroller/fake_mcp2221/fake_mcp2221.py | 6 ------ src/adafruit_blinka/microcontroller/fake_mcp2221/i2c.py | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/src/adafruit_blinka/microcontroller/fake_mcp2221/fake_mcp2221.py b/src/adafruit_blinka/microcontroller/fake_mcp2221/fake_mcp2221.py index 5312e1a..74a0713 100644 --- a/src/adafruit_blinka/microcontroller/fake_mcp2221/fake_mcp2221.py +++ b/src/adafruit_blinka/microcontroller/fake_mcp2221/fake_mcp2221.py @@ -3,12 +3,6 @@ # SPDX-License-Identifier: MIT """Chip Definition for MCP2221""" -import os -import time -import atexit - -import hid - class MCP2221: """MCP2221 Device Class Definition""" diff --git a/src/adafruit_blinka/microcontroller/fake_mcp2221/i2c.py b/src/adafruit_blinka/microcontroller/fake_mcp2221/i2c.py index 30f0b1d..c9c077b 100644 --- a/src/adafruit_blinka/microcontroller/fake_mcp2221/i2c.py +++ b/src/adafruit_blinka/microcontroller/fake_mcp2221/i2c.py @@ -13,7 +13,7 @@ class I2C: self._mcp2221 = mcp2221 self._freq = frequency - def scan(self, address_list=None): + def scan(address_list=None): """Mocks an I2C scan. If address_list is not provided, this function returns a list of 3 randomly generated I2C addresses from 0x0 to 0x79. -- 2.49.0