fixed pep8 issues in doc/source/conf.py

* E265 block comment should start with '# '
  * E101 indentation contains mixed spaces and tabs
  * W191 indentation contains tabs
  * E126 continuation line over-indented for hanging indent
  * W391 blank line at end of file

Also enabled doc/ to be checked by flake8 in tox.ini.

Change-Id: I6ef75ccffb94dd2df346e844d351ea477e560a42
This commit is contained in:
Christian Berendt
2014-05-13 22:33:55 +02:00
parent c545d83fce
commit 70fb1ca1fc
2 changed files with 6 additions and 7 deletions

View File

@@ -22,8 +22,8 @@ sys.path.insert(0, os.path.abspath('../..'))
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
extensions = [
'sphinx.ext.autodoc',
#'sphinx.ext.intersphinx',
#'oslo.sphinx'
# 'sphinx.ext.intersphinx',
# 'oslo.sphinx'
]
# autodoc generation is a bit aggressive and a nuisance when doing heavy
@@ -72,7 +72,7 @@ latex_documents = [
]
# Example configuration for intersphinx: refer to the Python standard library.
#intersphinx_mapping = {'http://docs.python.org/': None}
# intersphinx_mapping = {'http://docs.python.org/': None}
# -- Options for manual page output -------------------------------------------
@@ -82,8 +82,7 @@ man_pages = [
('man/openstack-doc-test', 'openstack-doc-test',
u'OpenStack documentation tools',
[u'OpenStack'], 1)
]
]
# If true, show URL addresses after external links.
#man_show_urls = False
# man_show_urls = False

View File

@@ -25,4 +25,4 @@ commands = {posargs}
show-source = True
ignore = E123,E125,H803
builtins = _
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build
exclude=.venv,.git,.tox,dist,*openstack/common*,*lib/python*,*egg,build