diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9ac7f5b4..75151d8c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.15.1 + rev: v0.15.2 hooks: - id: ruff name: ruff lint diff --git a/src/executorlib/task_scheduler/interactive/dependency_plot.py b/src/executorlib/task_scheduler/interactive/dependency_plot.py index 2130275c..b0bac9aa 100644 --- a/src/executorlib/task_scheduler/interactive/dependency_plot.py +++ b/src/executorlib/task_scheduler/interactive/dependency_plot.py @@ -326,7 +326,9 @@ def _short_object_name(node): } ) elif "object at" in node_value_str: - short_name = node_value_str[1:-1].split(maxsplit=1)[0].split(".")[-1] + "()" + short_name = ( + node_value_str[1:-1].split(maxsplit=1)[0].rsplit(".", maxsplit=1)[-1] + "()" + ) elif "