Apply pyupgrade --py36-plus.

This removes some 'u' prefixes and converts simple format() calls to f-strings.
This commit is contained in:
Ben Sturmfels
2021-09-23 11:51:04 +10:00
parent f90707e22c
commit 6f48143f4c
57 changed files with 160 additions and 162 deletions

View File

@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
#
# GNU MediaGoblin documentation build configuration file, created by
# sphinx-quickstart on Sun Apr 1 01:11:46 2012.
@@ -40,8 +39,8 @@ source_suffix = '.rst'
master_doc = 'index'
# General information about the project.
project = u'GNU MediaGoblin'
copyright = u'2011, 2012, GNU MediaGoblin contributors'
project = 'GNU MediaGoblin'
copyright = '2011, 2012, GNU MediaGoblin contributors'
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
@@ -183,8 +182,8 @@ latex_elements = {
# Grouping the document tree into LaTeX files. List of tuples
# (source start file, target name, title, author, documentclass [howto/manual]).
latex_documents = [
('index', 'GNUMediaGoblin.tex', u'GNU MediaGoblin Documentation',
u'See AUTHORS', 'manual'),
('index', 'GNUMediaGoblin.tex', 'GNU MediaGoblin Documentation',
'See AUTHORS', 'manual'),
]
# The name of an image file (relative to this directory) to place at the top of
@@ -213,8 +212,8 @@ latex_documents = [
# One entry per manual page. List of tuples
# (source start file, name, description, authors, manual section).
man_pages = [
('index', 'gnumediagoblin', u'GNU MediaGoblin Documentation',
[u'See AUTHORS'], 1)
('index', 'gnumediagoblin', 'GNU MediaGoblin Documentation',
['See AUTHORS'], 1)
]
# If true, show URL addresses after external links.
@@ -227,8 +226,8 @@ man_pages = [
# (source start file, target name, title, author,
# dir menu entry, description, category)
texinfo_documents = [
('index', 'GNUMediaGoblin', u'GNU MediaGoblin Documentation',
u'See AUTHORS', 'GNUMediaGoblin', 'One line description of project.',
('index', 'GNUMediaGoblin', 'GNU MediaGoblin Documentation',
'See AUTHORS', 'GNUMediaGoblin', 'One line description of project.',
'Miscellaneous'),
]