summaryrefslogtreecommitdiff
path: root/docs
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 /docs
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 'docs')
-rw-r--r--docs/conf.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/conf.py b/docs/conf.py
index 42a978d..18a4ecf 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -65,7 +65,7 @@ author = "José Padilla"
release = find_version("../jwt/__init__.py")
# The short X.Y version.
-version = release.rsplit(u".", 1)[0]
+version = release.rsplit(".", 1)[0]
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
@@ -112,7 +112,7 @@ htmlhelp_basename = "PyJWTdoc"
# One entry per manual page. List of tuples
# (source start file, name, description, authors, manual section).
-man_pages = [(master_doc, "pyjwt", u"PyJWT Documentation", [author], 1)]
+man_pages = [(master_doc, "pyjwt", "PyJWT Documentation", [author], 1)]
# -- Options for Texinfo output -------------------------------------------
@@ -124,7 +124,7 @@ texinfo_documents = [
(
master_doc,
"PyJWT",
- u"PyJWT Documentation",
+ "PyJWT Documentation",
author,
"PyJWT",
"One line description of project.",