diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e77530b..7b3c7a3 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -29,12 +29,12 @@ repos: # ] - repo: https://github.com/PyCQA/isort - rev: 5.11.4 + rev: 5.12.0 hooks: - id: isort - repo: https://github.com/psf/black - rev: 22.12.0 + rev: 23.1.0 hooks: - id: black language_version: python3 @@ -75,7 +75,7 @@ repos: - flake8-pytest-style - repo: https://github.com/pycqa/pylint - rev: v2.15.9 + rev: v2.16.0b1 hooks: - id: pylint args: diff --git a/src/bluetooth_clocks/__init__.py b/src/bluetooth_clocks/__init__.py index cd21a3e..6fc0e1a 100644 --- a/src/bluetooth_clocks/__init__.py +++ b/src/bluetooth_clocks/__init__.py @@ -347,8 +347,7 @@ async def set_time( # Iterate through the modules in the module `device`. package_dir = Path(__file__).resolve().parent / "devices" -for (_, module_name, _) in iter_modules([str(package_dir)]): # type: ignore - +for _, module_name, _ in iter_modules([str(package_dir)]): # type: ignore # Import the module and iterate through its attributes module = import_module(f"{__name__}.devices.{module_name}") for attribute_name in dir(module):