diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 62a09625..80e23a33 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 58c72d4e..d5363f78 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)