Skip to content

Commit 8f4da8e

Browse files
committed
fixes pep8 warnings in conf.py
1 parent 8eefc13 commit 8f4da8e

1 file changed

Lines changed: 47 additions & 42 deletions

File tree

‎source/conf.py‎

Lines changed: 47 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -3,27 +3,30 @@
33
# The Python Packaging Guide documentation build configuration file, created by
44
# sphinx-quickstart on Sun Dec 13 14:07:23 2009.
55
#
6-
# This file is execfile()d with the current directory set to its containing dir.
6+
# This file is execfile()d with the current directory set to its containing
7+
# dir.
78
#
89
# Note that not all possible configuration values are present in this
910
# autogenerated file.
1011
#
1112
# All configuration values have a default; values that are commented out
1213
# serve to show the default.
1314

14-
import sys, os, glob
15+
import sys
16+
import os
17+
import glob
1518

1619
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
1720

1821
# If extensions (or modules to document with autodoc) are in another directory,
1922
# add these directories to sys.path here. If the directory is relative to the
2023
# documentation root, use os.path.abspath to make it absolute, like shown here.
21-
#sys.path.append(os.path.abspath('.'))
24+
# sys.path.append(os.path.abspath('.'))
2225

23-
# -- General configuration -----------------------------------------------------
26+
# -- General configuration ----------------------------------------------------
2427

25-
# Add any Sphinx extension module names here, as strings. They can be extensions
26-
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
28+
# Add any Sphinx extension module names here, as strings. They can be
29+
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
2730
extensions = ['sphinx.ext.intersphinx']
2831

2932
intersphinx_cache_limit = 0
@@ -40,7 +43,7 @@
4043
source_suffix = '.rst'
4144

4245
# The encoding of source files.
43-
#source_encoding = 'utf-8'
46+
# source_encoding = 'utf-8'
4447

4548
# The master toctree document.
4649
master_doc = 'index'
@@ -60,43 +63,44 @@
6063

6164
# The language for content autogenerated by Sphinx. Refer to documentation
6265
# for a list of supported languages.
63-
#language = None
66+
# language = None
6467

6568
# There are two options for replacing |today|: either, you set today to some
6669
# non-false value, then it is used:
67-
#today = ''
70+
# today = ''
6871
# Else, today_fmt is used as the format for a strftime call.
69-
#today_fmt = '%B %d, %Y'
72+
# today_fmt = '%B %d, %Y'
7073

7174
# List of documents that shouldn't be included in the build.
72-
#unused_docs = []
75+
# unused_docs = []
7376

7477
# List of directories, relative to source directory, that shouldn't be searched
7578
# for source files.
7679
exclude_trees = []
7780

78-
# The reST default role (used for this markup: `text`) to use for all documents.
79-
#default_role = None
81+
# The reST default role (used for this markup: `text`) to use for all
82+
# documents.
83+
# default_role = None
8084

8185
# If true, '()' will be appended to :func: etc. cross-reference text.
82-
#add_function_parentheses = True
86+
# add_function_parentheses = True
8387

8488
# If true, the current module name will be prepended to all description
8589
# unit titles (such as .. function::).
86-
#add_module_names = True
90+
# add_module_names = True
8791

8892
# If true, sectionauthor and moduleauthor directives will be shown in the
8993
# output. They are ignored by default.
90-
#show_authors = False
94+
# show_authors = False
9195

9296
# The name of the Pygments (syntax highlighting) style to use.
9397
pygments_style = 'sphinx'
9498

9599
# A list of ignored prefixes for module index sorting.
96-
#modindex_common_prefix = []
100+
# modindex_common_prefix = []
97101

98102

99-
# -- Options for HTML output ---------------------------------------------------
103+
# -- Options for HTML output --------------------------------------------------
100104

101105
# The theme to use for HTML and HTML Help pages. Major themes that come with
102106
# Sphinx are currently 'default' and 'sphinxdoc'.
@@ -112,7 +116,7 @@
112116
# Theme options are theme-specific and customize the look and feel of a theme
113117
# further. For a list of options available for each theme, see the
114118
# documentation.
115-
#html_theme_options = {}
119+
# html_theme_options = {}
116120

117121
# Add any paths that contain custom themes here, relative to this directory.
118122
html_theme_path = []
@@ -125,19 +129,19 @@
125129

126130
# The name for this set of Sphinx documents. If None, it defaults to
127131
# "<project> v<release> documentation".
128-
#html_title = None
132+
# html_title = None
129133

130134
# A shorter title for the navigation bar. Default is the same as html_title.
131-
#html_short_title = None
135+
# html_short_title = None
132136

133137
# The name of an image file (relative to this directory) to place at the top
134138
# of the sidebar.
135-
#html_logo = None
139+
# html_logo = None
136140

137141
# The name of an image file (within the static path) to use as favicon of the
138142
# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
139143
# pixels large.
140-
#html_favicon = None
144+
# html_favicon = None
141145

142146
# Add any paths that contain custom static files (such as style sheets) here,
143147
# relative to this directory. They are copied after the builtin static files,
@@ -146,71 +150,72 @@
146150

147151
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
148152
# using the given strftime format.
149-
#html_last_updated_fmt = '%b %d, %Y'
153+
# html_last_updated_fmt = '%b %d, %Y'
150154

151155
# If true, SmartyPants will be used to convert quotes and dashes to
152156
# typographically correct entities.
153-
#html_use_smartypants = True
157+
# html_use_smartypants = True
154158

155159
# Custom sidebar templates, maps document names to template names.
156160
html_sidebars = {}
157161

158162
# Additional templates that should be rendered to pages, maps page names to
159163
# template names.
160-
#html_additional_pages = {}
164+
# html_additional_pages = {}
161165

162166
# If false, no module index is generated.
163-
#html_use_modindex = True
167+
# html_use_modindex = True
164168

165169
# If false, no index is generated.
166-
#html_use_index = True
170+
# html_use_index = True
167171

168172
# If true, the index is split into individual pages for each letter.
169-
#html_split_index = False
173+
# html_split_index = False
170174

171175
# If true, links to the reST sources are added to the pages.
172176
html_show_sourcelink = False
173177

174178
# If true, an OpenSearch description file will be output, and all pages will
175179
# contain a <link> tag referring to it. The value of this option must be the
176180
# base URL from which the finished HTML is served.
177-
#html_use_opensearch = ''
181+
# html_use_opensearch = ''
178182

179183
# If nonempty, this is the file name suffix for HTML files (e.g. ".xhtml").
180-
#html_file_suffix = ''
184+
# html_file_suffix = ''
181185

182186
# Output file base name for HTML help builder.
183187
htmlhelp_basename = 'pythonpackagingguide'
184188

185189

186-
# -- Options for LaTeX output --------------------------------------------------
190+
# -- Options for LaTeX output -------------------------------------------------
187191

188192
# The paper size ('letter' or 'a4').
189-
#latex_paper_size = 'letter'
193+
# latex_paper_size = 'letter'
190194

191195
# The font size ('10pt', '11pt' or '12pt').
192-
#latex_font_size = '10pt'
196+
# latex_font_size = '10pt'
193197

194198
# Grouping the document tree into LaTeX files. List of tuples
195-
# (source start file, target name, title, author, documentclass [howto/manual]).
199+
# (source start file, target name, title, author,
200+
# documentclass [howto/manual]).
196201
latex_documents = [
197-
('index', 'PythonPackagingGuide.tex', u'Python Packaging Guide',
198-
u'PyPA', 'manual'),
202+
('index', 'PythonPackagingGuide.tex', u'Python Packaging Guide',
203+
u'PyPA', 'manual'),
199204
]
200205

201206
# The name of an image file (relative to this directory) to place at the top of
202207
# the title page.
203-
#latex_logo = None
208+
# latex_logo = None
204209

205210
# For "manual" documents, if this is true, then toplevel headings are parts,
206211
# not chapters.
207-
#latex_use_parts = False
212+
# latex_use_parts = False
208213

209214
# Additional stuff for the LaTeX preamble.
210-
#latex_preamble = ''
215+
# latex_preamble = ''
211216

212217
# Documents to append as an appendix to all manuals.
213-
#latex_appendices = []
218+
# latex_appendices = []
214219

215220
# If false, no module index is generated.
216-
#latex_use_modindex = True
221+
# latex_use_modindex = True

0 commit comments

Comments
 (0)