From e5f0690e9195178c6f53954b1f9059b3d9b11116 Mon Sep 17 00:00:00 2001 From: William Woodruff Date: Wed, 9 Aug 2023 15:12:44 -0400 Subject: [PATCH] oidc-exchange: ignore a nested function Signed-off-by: William Woodruff --- oidc-exchange.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oidc-exchange.py b/oidc-exchange.py index 886edcd..200c12b 100644 --- a/oidc-exchange.py +++ b/oidc-exchange.py @@ -146,7 +146,7 @@ def render_claims(token: str) -> str: _, payload, _ = token.split(".", 2) claims = json.loads(base64.urlsafe_b64decode(payload)) - def _get(name: str) -> str: + def _get(name: str) -> str: # noqa: WPS430 return claims.get(name, "MISSING") return _RENDERED_CLAIMS.format(