summaryrefslogtreecommitdiff
path: root/sphinx/setup_command.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2015-03-08 17:15:54 +0100
committerGeorg Brandl <georg@python.org>2015-03-08 17:15:54 +0100
commit548a6dc22e4a3edff76413b6bdeedcf2b8c3f30c (patch)
treed41a62e8805c423e505d7f5c4d579aac13ae1511 /sphinx/setup_command.py
parent3047a23a6613d74705b6373b03e8f78b82e3c1ce (diff)
downloadsphinx-git-548a6dc22e4a3edff76413b6bdeedcf2b8c3f30c.tar.gz
final pep8 fixes; reactivate most warnings in flake8
Diffstat (limited to 'sphinx/setup_command.py')
-rw-r--r--sphinx/setup_command.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/sphinx/setup_command.py b/sphinx/setup_command.py
index 748948e57..1a942c5da 100644
--- a/sphinx/setup_command.py
+++ b/sphinx/setup_command.py
@@ -81,7 +81,6 @@ class BuildDoc(Command):
]
boolean_options = ['fresh-env', 'all-files', 'link-index']
-
def initialize_options(self):
self.fresh_env = self.all_files = False
self.source_dir = self.build_dir = None
@@ -147,13 +146,13 @@ class BuildDoc(Command):
status_stream = sys.stdout
confoverrides = {}
if self.project:
- confoverrides['project'] = self.project
+ confoverrides['project'] = self.project
if self.version:
- confoverrides['version'] = self.version
+ confoverrides['version'] = self.version
if self.release:
- confoverrides['release'] = self.release
+ confoverrides['release'] = self.release
if self.today:
- confoverrides['today'] = self.today
+ confoverrides['today'] = self.today
if self.copyright:
confoverrides['copyright'] = self.copyright
app = Sphinx(self.source_dir, self.config_dir,