From d21d9db90ae6f5f15f1aaf25a4e5d0669dbe1d96 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 19 Jun 2025 17:32:18 +0000 Subject: [PATCH] chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.12.0 (#510) * chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.12.0 * skip PLC0415 Signed-off-by: gruebel --------- Signed-off-by: gruebel Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: gruebel --- .pre-commit-config.yaml | 2 +- openfeature/_event_support.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 62a0962..80e23a3 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,7 +1,7 @@ default_stages: [pre-commit] repos: - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.11.13 + rev: v0.12.0 hooks: - id: ruff args: [--fix] diff --git a/openfeature/_event_support.py b/openfeature/_event_support.py index 58c72d4..d5363f7 100644 --- a/openfeature/_event_support.py +++ b/openfeature/_event_support.py @@ -61,7 +61,7 @@ def add_global_handler(event: ProviderEvent, handler: EventHandler) -> None: with _global_lock: _global_handlers[event].append(handler) - from openfeature.api import get_client + from openfeature.api import get_client # noqa: PLC0415 _run_immediate_handler(get_client(), event, handler)