summaryrefslogtreecommitdiff
path: root/jwt/help.py
diff options
context:
space:
mode:
authorJosé Padilla <jpadilla@webapplicate.com>2019-10-21 22:38:34 -0400
committerGitHub <noreply@github.com>2019-10-21 22:38:34 -0400
commit11ac89474b1179925c76450fcc4b3d2042c45f19 (patch)
treedda6b15326cab750f5e52ee57e3125bb5d0a7eee /jwt/help.py
parentae080f472c913ad94456fd9e10b05ec2d038b7cc (diff)
downloadpyjwt-11ac89474b1179925c76450fcc4b3d2042c45f19.tar.gz
DX Tweaks (#450)
* Setup pre-commit hooks * Run initial `tox -e lint` * Fix package name * Fix .travis.yml
Diffstat (limited to 'jwt/help.py')
-rw-r--r--jwt/help.py10
1 files changed, 8 insertions, 2 deletions
diff --git a/jwt/help.py b/jwt/help.py
index 573088d..0639cb6 100644
--- a/jwt/help.py
+++ b/jwt/help.py
@@ -23,7 +23,10 @@ def info():
Based on the requests package help utility module.
"""
try:
- platform_info = {"system": platform.system(), "release": platform.release()}
+ platform_info = {
+ "system": platform.system(),
+ "release": platform.release(),
+ }
except IOError:
platform_info = {"system": "Unknown", "release": "Unknown"}
@@ -46,7 +49,10 @@ def info():
return {
"platform": platform_info,
- "implementation": {"name": implementation, "version": implementation_version},
+ "implementation": {
+ "name": implementation,
+ "version": implementation_version,
+ },
"cryptography": {"version": getattr(cryptography, "__version__", "")},
"pyjwt": {"version": pyjwt_version},
}