From 14da84b4f77250f26655142de9adb55e26e47714 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 9 Feb 2026 20:21:59 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/charliermarsh/ruff-pre-commit: v0.14.14 → v0.15.0](https://github.com/charliermarsh/ruff-pre-commit/compare/v0.14.14...v0.15.0) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 61d17a8..ce43452 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -18,7 +18,7 @@ repos: hooks: - id: codespell - repo: 'https://github.com/charliermarsh/ruff-pre-commit' - rev: v0.14.14 + rev: v0.15.0 hooks: - id: ruff args: From 10d928c11e1bf43c4cee562347f02c87c663d61c Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 9 Feb 2026 20:22:59 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- taps/executor/parsl.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/taps/executor/parsl.py b/taps/executor/parsl.py index 2c54424..90d921b 100644 --- a/taps/executor/parsl.py +++ b/taps/executor/parsl.py @@ -275,7 +275,7 @@ def _validate_address_name(cls, kind: str) -> str: # Parse the class name if the full path is passed. For example, # parsl.addresses.address_by_hostname and address_by_hostname should # both be valid. - cls_name = kind.split('.')[-1] + cls_name = kind.rsplit('.', maxsplit=1)[-1] try: getattr(parsl.addresses, cls_name) except AttributeError as e: @@ -349,7 +349,7 @@ class ProviderConfig(BaseModel): def _validate_provider_name(cls, kind: str) -> str: # Parse the class name if the full path is passed. For example, # parsl.providers.SlurmProvider and SlurmProvider should both be valid. - cls_name = kind.split('.')[-1] + cls_name = kind.rsplit('.', maxsplit=1)[-1] try: getattr(parsl.providers, cls_name) except AttributeError as e: @@ -404,7 +404,7 @@ class LauncherConfig(BaseModel): def _validate_launcher_name(cls, kind: str) -> str: # Parse the class name if the full path is passed. For example, # parsl.launchers.SrunLauncher and SrunLauncher should both be valid. - cls_name = kind.split('.')[-1] + cls_name = kind.rsplit('.', maxsplit=1)[-1] try: getattr(parsl.launchers, cls_name) except AttributeError as e: @@ -452,7 +452,7 @@ def _validate_manager_selector_name(cls, kind: str) -> str: # Parse the class name if the full path is passed. For example, # parsl.executors.high_throughput.manager_selector.RandomManagerSelector # noqa: E501 # and RandomManagerSelector should both be valid. - cls_name = kind.split('.')[-1] + cls_name = kind.rsplit('.', maxsplit=1)[-1] try: import parsl.executors.high_throughput.manager_selector except ImportError as e: # pragma: no cover