Skip to content

Commit e80f02f

Browse files
Merge pull request #23 from SWR-MoIP/dependabot/pip/all-3b8bf71deb
Bump ruff from 0.8.6 to 0.11.10 in the all group
2 parents d1bb35a + 860f498 commit e80f02f

4 files changed

Lines changed: 31 additions & 31 deletions

File tree

poetry.lock

Lines changed: 28 additions & 28 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Documentation = "https://github.com/SWR-MoIP/VideoIPath-Automation-Tool#document
3434
packages = [{ include = "videoipath_automation_tool", from = "src" }]
3535

3636
[tool.poetry.group.dev.dependencies]
37-
ruff = "^0.8.1"
37+
ruff = "^0.11.10"
3838
pre-commit = "^4.0.1"
3939

4040
[tool.poetry.group.test.dependencies]

src/videoipath_automation_tool/apps/inventory/app/create_device_from_discovered_device.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -963,7 +963,7 @@ def create_device_from_discovered_device(
963963

964964
if suggested_config_index >= count_of_suggested_configs or suggested_config_index < 0:
965965
raise ValueError(
966-
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.'}"
966+
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.'}"
967967
)
968968

969969
suggested_config = discovered_device.suggestedConfigs[suggested_config_index]

src/videoipath_automation_tool/apps/inventory/model/inventory_request_rpc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def update(self, device: InventoryDevice):
2626
validate_device_id(device.configuration.id)
2727
except ValueError as e:
2828
raise ValueError(
29-
"To update a device, a valid 'device_id' must be set in the device configuration. " f"Error: {e}"
29+
f"To update a device, a valid 'device_id' must be set in the device configuration. Error: {e}"
3030
)
3131
return super().update(device.configuration.id, device.configuration)
3232

0 commit comments

Comments
 (0)