summaryrefslogtreecommitdiffstats
path: root/jenkins_jobs/sphinx
diff options
context:
space:
mode:
authorDarragh Bailey <dbailey@hp.com>2014-11-10 13:07:55 +0000
committerWayne Warren <waynr+launchpad@sdf.org>2015-12-23 15:23:42 -0800
commit8805a34c0ff71cda61498ec1d7df03ab2835943d (patch)
tree274bfc68cfbc41e9f209a28bf01feb35326e0d6e /jenkins_jobs/sphinx
parent245f643522da0236254bb14f055df5cbb571938f (diff)
downloadpython-jenkins-job-builder-8805a34c0ff71cda61498ec1d7df03ab2835943d.tar.gz
python-jenkins-job-builder-8805a34c0ff71cda61498ec1d7df03ab2835943d.tar.xz
python-jenkins-job-builder-8805a34c0ff71cda61498ec1d7df03ab2835943d.zip
Reorder imports to match hacking guidelines
Ensure that the imports follow the standard OpenStack hacking guidelines. Change-Id: Iaa4326aef118ddfd807dd006934f1d9ca80a1cfa
Diffstat (limited to 'jenkins_jobs/sphinx')
-rw-r--r--jenkins_jobs/sphinx/yaml.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/jenkins_jobs/sphinx/yaml.py b/jenkins_jobs/sphinx/yaml.py
index 93fdc968..d12fa580 100644
--- a/jenkins_jobs/sphinx/yaml.py
+++ b/jenkins_jobs/sphinx/yaml.py
@@ -20,11 +20,15 @@
# :license: BSD, see LICENSE for details.
import re
-from sphinx.ext.autodoc import Documenter, FunctionDocumenter
-from sphinx.domains.python import PyModulelevel, _pseudo_parse_arglist
+
from sphinx import addnodes
+from sphinx.domains.python import _pseudo_parse_arglist
+from sphinx.domains.python import PyModulelevel
+from sphinx.ext.autodoc import Documenter
+from sphinx.ext.autodoc import FunctionDocumenter
from sphinx.locale import _
+
yaml_sig_re = re.compile('yaml:\s*(.*)')