Ignore fewer PEP8/flake8 rules
Reasons:
- code should be pythonicaly clean,
that is why number of ignored rules should reduced
Changes:
- E125, F811, H102, H103, F201, H23,
H302, F841, H301, H702, H703 rules are now enabled
Change-Id: Ibf4025162244d3c2f1278b49a76ec1527a729042
2013-12-10 18:49:20 +02:00
|
|
|
# Copyright 2011 OpenStack Foundation
|
|
|
|
# Copyright 2013 Rackspace Hosting
|
|
|
|
# Copyright 2013 Hewlett-Packard Development Company, L.P.
|
|
|
|
# Copyright 2013 Mirantis Inc.
|
|
|
|
# All Rights Reserved.
|
|
|
|
#
|
|
|
|
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
|
|
|
# not use this file except in compliance with the License. You may obtain
|
|
|
|
# a copy of the License at
|
|
|
|
#
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
#
|
|
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
|
|
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
|
|
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
|
|
# License for the specific language governing permissions and limitations
|
|
|
|
# under the License.
|
|
|
|
#
|
2012-07-16 15:16:27 -05:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
2015-02-11 18:29:18 -08:00
|
|
|
import sys
|
|
|
|
import os
|
|
|
|
|
|
|
|
BASE_DIR = os.path.dirname(os.path.abspath(__file__))
|
|
|
|
ROOT = os.path.abspath(os.path.join(BASE_DIR, "..", ".."))
|
|
|
|
|
|
|
|
sys.path.insert(0, ROOT)
|
|
|
|
sys.path.insert(0, BASE_DIR)
|
|
|
|
|
2013-06-14 19:03:15 -04:00
|
|
|
extensions = [
|
|
|
|
'sphinx.ext.autodoc',
|
|
|
|
'sphinx.ext.doctest',
|
2014-09-19 10:27:55 +02:00
|
|
|
'sphinx.ext.coverage',
|
|
|
|
'oslosphinx'
|
2013-06-14 19:03:15 -04:00
|
|
|
]
|
2012-07-16 15:16:27 -05:00
|
|
|
|
|
|
|
templates_path = ['_templates']
|
|
|
|
|
|
|
|
source_suffix = '.rst'
|
|
|
|
|
|
|
|
master_doc = 'index'
|
|
|
|
|
2013-06-14 19:03:15 -04:00
|
|
|
project = u'python-troveclient'
|
2014-09-19 10:27:55 +02:00
|
|
|
copyright = u'2014, OpenStack Foundation'
|
2012-07-16 15:16:27 -05:00
|
|
|
|
|
|
|
exclude_trees = []
|
|
|
|
|
|
|
|
pygments_style = 'sphinx'
|
|
|
|
|
|
|
|
html_theme = 'default'
|
2013-06-14 19:03:15 -04:00
|
|
|
htmlhelp_basename = 'python-troveclientdoc'
|
2012-07-16 15:16:27 -05:00
|
|
|
latex_documents = [
|
2013-06-14 19:03:15 -04:00
|
|
|
('index', 'python-troveclient.tex', u'python-troveclient Documentation',
|
|
|
|
u'OpenStack', 'manual'),
|
2012-07-16 15:16:27 -05:00
|
|
|
]
|