Skip to content

Commit e5f0690

Browse files
committed
oidc-exchange: ignore a nested function
Signed-off-by: William Woodruff <[email protected]>
1 parent 8bdd0cc commit e5f0690

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

oidc-exchange.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ def render_claims(token: str) -> str:
146146
_, payload, _ = token.split(".", 2)
147147
claims = json.loads(base64.urlsafe_b64decode(payload))
148148

149-
def _get(name: str) -> str:
149+
def _get(name: str) -> str: # noqa: WPS430
150150
return claims.get(name, "MISSING")
151151

152152
return _RENDERED_CLAIMS.format(

0 commit comments

Comments
 (0)