diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index bda136ada..e171e360d 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 11682d5de..89f70f43d 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: