summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2020-06-07 22:40:09 -0700
committerGitHub <noreply@github.com>2020-06-08 11:40:09 +0600
commit65bca5c4db1b62dc0eb05f40aaa86dabf898fdae (patch)
tree6a38b52ee1081e3e8ee77c1ade6f80526c0b10a7 /docs
parent7b2b4ff50461186a60132f0ebf63b55a78aa831f (diff)
downloadpyjwt-65bca5c4db1b62dc0eb05f40aaa86dabf898fdae.tar.gz
Run pyupgrade across project to use modern Python 3 conventions (#491)
pyupgrade is a tool to automatically upgrade Python syntax for newer versions of the language. Running pyupgrade removes several Python-2-isms that are no longer necessary now that the project is Python 3 only. https://github.com/asottile/pyupgrade
Diffstat (limited to 'docs')
-rw-r--r--docs/conf.py16
1 files changed, 7 insertions, 9 deletions
diff --git a/docs/conf.py b/docs/conf.py
index 7c897dd..83f346c 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -1,5 +1,3 @@
-# -*- coding: utf-8 -*-
-#
# PyJWT documentation build configuration file, created by
# sphinx-quickstart on Thu Oct 22 18:11:10 2015.
#
@@ -51,9 +49,9 @@ source_suffix = ".rst"
master_doc = "index"
# General information about the project.
-project = u"PyJWT"
-copyright = u"2015, José Padilla"
-author = u"José Padilla"
+project = "PyJWT"
+copyright = "2015, José Padilla"
+author = "José Padilla"
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
@@ -244,8 +242,8 @@ latex_documents = [
(
master_doc,
"PyJWT.tex",
- u"PyJWT Documentation",
- u"José Padilla",
+ "PyJWT Documentation",
+ "José Padilla",
"manual",
)
]
@@ -275,7 +273,7 @@ latex_documents = [
# 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)]
# If true, show URL addresses after external links.
# man_show_urls = False
@@ -290,7 +288,7 @@ texinfo_documents = [
(
master_doc,
"PyJWT",
- u"PyJWT Documentation",
+ "PyJWT Documentation",
author,
"PyJWT",
"One line description of project.",