Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 28 additions & 28 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Documentation = "https://github.com/SWR-MoIP/VideoIPath-Automation-Tool#document
packages = [{ include = "videoipath_automation_tool", from = "src" }]

[tool.poetry.group.dev.dependencies]
ruff = "^0.8.1"
ruff = "^0.11.10"
pre-commit = "^4.0.1"

[tool.poetry.group.test.dependencies]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -963,7 +963,7 @@ def create_device_from_discovered_device(

if suggested_config_index >= count_of_suggested_configs or suggested_config_index < 0:
raise ValueError(
f"suggested_config_index is out of range. {f'Please provide a index between 0 and {count_of_suggested_configs - 1}' if (count_of_suggested_configs-1) > 0 else 'Please provide 0 as index.'}"
f"suggested_config_index is out of range. {f'Please provide a index between 0 and {count_of_suggested_configs - 1}' if (count_of_suggested_configs - 1) > 0 else 'Please provide 0 as index.'}"
)

suggested_config = discovered_device.suggestedConfigs[suggested_config_index]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def update(self, device: InventoryDevice):
validate_device_id(device.configuration.id)
except ValueError as e:
raise ValueError(
"To update a device, a valid 'device_id' must be set in the device configuration. " f"Error: {e}"
f"To update a device, a valid 'device_id' must be set in the device configuration. Error: {e}"
)
return super().update(device.configuration.id, device.configuration)

Expand Down