Skip to content

Commit bad8275

Browse files
committed
Apply style to sphinx config file
1 parent e1d31c8 commit bad8275

File tree

2 files changed

+19
-12
lines changed

2 files changed

+19
-12
lines changed

docs/source/conf.py

Lines changed: 18 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
# virtualenvwrapper documentation build configuration file, created by
44
# sphinx-quickstart on Thu May 28 22:35:13 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
7+
# containing dir.
78
#
89
# Note that not all possible configuration values are present in this
910
# autogenerated file.
@@ -19,10 +20,11 @@
1920
# documentation root, use os.path.abspath to make it absolute, like shown here.
2021
#sys.path.append(os.path.abspath('.'))
2122

22-
# -- General configuration -----------------------------------------------------
23+
# -- General configuration ---------------------------------------------------
2324

24-
# Add any Sphinx extension module names here, as strings. They can be extensions
25-
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
25+
# Add any Sphinx extension module names here, as strings. They can be
26+
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
27+
# ones.
2628
extensions = ['sphinxcontrib.bitbucket']
2729

2830
bitbucket_project_url = 'http://bitbucket.org/dhellmann/virtualenvwrapper/'
@@ -48,7 +50,10 @@
4850
# built documents.
4951
#
5052
# The short X.Y version.
51-
version = subprocess.check_output(['sh', '-c', 'cd ../..; python setup.py --version'])
53+
version = subprocess.check_output([
54+
'sh', '-c',
55+
'cd ../..; python setup.py --version',
56+
])
5257
version = version.strip()
5358
# The full version, including alpha/beta/rc tags.
5459
release = version
@@ -70,7 +75,8 @@
7075
# for source files.
7176
exclude_trees = ['_build']
7277

73-
# The reST default role (used for this markup: `text`) to use for all documents.
78+
# The reST default role (used for this markup: `text`) to use for all
79+
# documents.
7480
#default_role = None
7581

7682
# If true, '()' will be appended to :func: etc. cross-reference text.
@@ -91,7 +97,7 @@
9197
#modindex_common_prefix = []
9298

9399

94-
# -- Options for HTML output ---------------------------------------------------
100+
# -- Options for HTML output -------------------------------------------------
95101

96102
# The theme to use for HTML and HTML Help pages. Major themes that come with
97103
# Sphinx are currently 'default' and 'sphinxdoc'.
@@ -165,7 +171,7 @@
165171
htmlhelp_basename = 'virtualenvwrapperdoc'
166172

167173

168-
# -- Options for LaTeX output --------------------------------------------------
174+
# -- Options for LaTeX output ------------------------------------------------
169175

170176
# The paper size ('letter' or 'a4').
171177
#latex_paper_size = 'letter'
@@ -174,10 +180,11 @@
174180
#latex_font_size = '10pt'
175181

176182
# Grouping the document tree into LaTeX files. List of tuples
177-
# (source start file, target name, title, author, documentclass [howto/manual]).
183+
# (source start file, target name, title, author, documentclass
184+
# [howto/manual]).
178185
latex_documents = [
179-
('index', 'virtualenvwrapper.tex', u'virtualenvwrapper Documentation',
180-
u'Doug Hellmann', 'manual'),
186+
('index', 'virtualenvwrapper.tex', u'virtualenvwrapper Documentation',
187+
u'Doug Hellmann', 'manual'),
181188
]
182189

183190
# The name of an image file (relative to this directory) to place at the top of

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ setenv =
1111

1212
[testenv:style]
1313
deps = flake8
14-
commands = flake8 virtualenvwrapper
14+
commands = flake8 virtualenvwrapper docs/source/conf.py
1515

1616

1717
# Not sure why this is needed, but on my system if it isn't included then

0 commit comments

Comments
 (0)