Skip to content

Commit

Permalink
build: Update version of ruff for pre-commit. Remove unused noqa comm…
Browse files Browse the repository at this point in the history
…ent. (#126)
  • Loading branch information
nfelt14 authored Jan 12, 2024
1 parent 7422b08 commit 2c74276
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion src/tm_devices/device_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 2c74276

Please sign in to comment.