From fe63b64d8fe90efc1433971aa7b1701ef8ae93c9 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 20 Jul 2024 14:42:21 +0200 Subject: [PATCH] chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.5.3 (#350) * chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.5.3 * fix linting 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/hook/__init__.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 988f63b..fee4742 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,7 +1,7 @@ default_stages: [commit] repos: - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.5.2 + rev: v0.5.3 hooks: - id: ruff args: [--fix] diff --git a/openfeature/hook/__init__.py b/openfeature/hook/__init__.py index e1524ad..e98301f 100644 --- a/openfeature/hook/__init__.py +++ b/openfeature/hook/__init__.py @@ -23,7 +23,7 @@ class HookType(Enum): class HookContext: - def __init__( # noqa: PLR0913 + def __init__( self, flag_key: str, flag_type: FlagType,