From 2c74276dda4ed0a05fa16d5eb9c0797a70366425 Mon Sep 17 00:00:00 2001 From: Nicholas Felt Date: Fri, 12 Jan 2024 13:35:39 -0800 Subject: [PATCH] build: Update version of ruff for pre-commit. Remove unused noqa comment. (#126) --- .pre-commit-config.yaml | 2 +- src/tm_devices/device_manager.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index bda136ad..e171e360 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -123,7 +123,7 @@ repos: always_run: true args: [., --min=10] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.1.11 + rev: v0.1.12 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] diff --git a/src/tm_devices/device_manager.py b/src/tm_devices/device_manager.py index 11682d5d..89f70f43 100644 --- a/src/tm_devices/device_manager.py +++ b/src/tm_devices/device_manager.py @@ -1075,7 +1075,7 @@ def load_config_file(self, config_file_path: Union[str, os.PathLike[str]]) -> No if device_name not in self.__devices: self.__create_device(device_name, device_config) - def open(self) -> bool: # noqa: A003 + def open(self) -> bool: """Reopen all devices if the DeviceManager has been previously closed. Returns: