summaryrefslogtreecommitdiff
path: root/jwt
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2020-12-16 12:30:03 -0800
committerGitHub <noreply@github.com>2020-12-16 15:30:03 -0500
commita086e61af8f12384045079e38fd62a9f09c8985b (patch)
tree57b23bb26054d51c5fc0f6b68c6de0b7dbc7d06e /jwt
parentb8cace554ee41fb13808e13a432b246efca985fc (diff)
downloadpyjwt-a086e61af8f12384045079e38fd62a9f09c8985b.tar.gz
Upgrade black version and usage (#538)
Upgrade black to version 20.8b1 and specify that Python 3.6+ syntax should be used. Run it on all files to upgrade syntax.
Diffstat (limited to 'jwt')
-rw-r--r--jwt/api_jws.py2
-rw-r--r--jwt/api_jwt.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/jwt/api_jws.py b/jwt/api_jws.py
index 1e00221..83baaab 100644
--- a/jwt/api_jws.py
+++ b/jwt/api_jws.py
@@ -131,7 +131,7 @@ class PyJWS:
algorithms: List[str] = None,
options: Dict = None,
complete: bool = False,
- **kwargs
+ **kwargs,
):
merged_options = merge_dict(self.options, options)
diff --git a/jwt/api_jwt.py b/jwt/api_jwt.py
index 521cc65..4862580 100644
--- a/jwt/api_jwt.py
+++ b/jwt/api_jwt.py
@@ -71,7 +71,7 @@ class PyJWT(PyJWS):
algorithms: List[str] = None,
options: Dict = None,
complete: bool = False,
- **kwargs
+ **kwargs,
) -> Dict[str, Any]:
if options is None:
@@ -90,7 +90,7 @@ class PyJWT(PyJWS):
algorithms=algorithms,
options=options,
complete=complete,
- **kwargs
+ **kwargs,
)
try: