Skip to content

Commit d21d9db

Browse files
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 <[email protected]> --------- Signed-off-by: gruebel <[email protected]> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: gruebel <[email protected]>
1 parent ac95c7a commit d21d9db

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
default_stages: [pre-commit]
22
repos:
33
- repo: https://github.com/astral-sh/ruff-pre-commit
4-
rev: v0.11.13
4+
rev: v0.12.0
55
hooks:
66
- id: ruff
77
args: [--fix]

openfeature/_event_support.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def add_global_handler(event: ProviderEvent, handler: EventHandler) -> None:
6161
with _global_lock:
6262
_global_handlers[event].append(handler)
6363

64-
from openfeature.api import get_client
64+
from openfeature.api import get_client # noqa: PLC0415
6565

6666
_run_immediate_handler(get_client(), event, handler)
6767

0 commit comments

Comments
 (0)