Skip to content

Commit e5f0690

Browse files
committed
oidc-exchange: ignore a nested function
Signed-off-by: William Woodruff <william@trailofbits.com>
1 parent 8bdd0cc commit e5f0690

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

oidc-exchange.py

Lines changed: 1 addition & 1 deletion
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy