Merge pull request #5925 from stvstnfrd/pep8/continuation
Fix continuation-related PEP8 issues
This commit is contained in:
@@ -47,8 +47,14 @@ sys.path.append(root / "lms/djangoapps")
|
||||
sys.path.append(root / "lms/lib")
|
||||
sys.path.append(root / "cms/djangoapps")
|
||||
sys.path.append(root / "cms/lib")
|
||||
sys.path.insert(0, os.path.abspath(os.path.normpath(os.path.dirname(__file__)
|
||||
+ '/../../../')))
|
||||
sys.path.insert(
|
||||
0,
|
||||
os.path.abspath(
|
||||
os.path.normpath(
|
||||
os.path.dirname(__file__) + '/../../../'
|
||||
)
|
||||
)
|
||||
)
|
||||
sys.path.append('.')
|
||||
|
||||
# django configuration - careful here
|
||||
@@ -134,7 +140,7 @@ MOCK_MODULES = [
|
||||
'yaml',
|
||||
'webob',
|
||||
'webob.multidict',
|
||||
]
|
||||
]
|
||||
|
||||
if on_rtd:
|
||||
for mod_name in MOCK_MODULES:
|
||||
|
||||
@@ -39,8 +39,14 @@ sys.path.append(root / "lms/djangoapps/mobile_api/course_info")
|
||||
sys.path.append(root / "lms/djangoapps/mobile_api/users")
|
||||
sys.path.append(root / "lms/djangoapps/mobile_api/video_outlines")
|
||||
|
||||
sys.path.insert(0, os.path.abspath(os.path.normpath(os.path.dirname(__file__)
|
||||
+ '/../../../')))
|
||||
sys.path.insert(
|
||||
0,
|
||||
os.path.abspath(
|
||||
os.path.normpath(
|
||||
os.path.dirname(__file__) + '/../../../'
|
||||
)
|
||||
)
|
||||
)
|
||||
sys.path.append('.')
|
||||
|
||||
# django configuration - careful here
|
||||
@@ -126,7 +132,7 @@ MOCK_MODULES = [
|
||||
'yaml',
|
||||
'webob',
|
||||
'webob.multidict',
|
||||
]
|
||||
]
|
||||
|
||||
if on_rtd:
|
||||
for mod_name in MOCK_MODULES:
|
||||
|
||||
@@ -196,21 +196,26 @@ htmlhelp_basename = 'edxdoc'
|
||||
# -- Options for LaTeX output --------------------------------------------------
|
||||
|
||||
latex_elements = {
|
||||
# The paper size ('letterpaper' or 'a4paper').
|
||||
#'papersize': 'letterpaper',
|
||||
# The paper size ('letterpaper' or 'a4paper').
|
||||
#'papersize': 'letterpaper',
|
||||
|
||||
# The font size ('10pt', '11pt' or '12pt').
|
||||
#'pointsize': '10pt',
|
||||
# The font size ('10pt', '11pt' or '12pt').
|
||||
#'pointsize': '10pt',
|
||||
|
||||
# Additional stuff for the LaTeX preamble.
|
||||
#'preamble': '',
|
||||
# Additional stuff for the LaTeX preamble.
|
||||
#'preamble': '',
|
||||
}
|
||||
|
||||
# Grouping the document tree into LaTeX files. List of tuples
|
||||
# (source start file, target name, title, author, documentclass [howto/manual]).
|
||||
latex_documents = [
|
||||
('index', 'getting_started.tex', u'edX Studio Documentation',
|
||||
u'EdX Doc Team', 'manual'),
|
||||
(
|
||||
'index',
|
||||
'getting_started.tex',
|
||||
u'edX Studio Documentation',
|
||||
u'EdX Doc Team',
|
||||
'manual',
|
||||
),
|
||||
]
|
||||
|
||||
# The name of an image file (relative to this directory) to place at the top of
|
||||
@@ -253,9 +258,15 @@ man_pages = [
|
||||
# (source start file, target name, title, author,
|
||||
# dir menu entry, description, category)
|
||||
texinfo_documents = [
|
||||
('index', 'getting_started', u'getting_started Documentation',
|
||||
u'EdX Doc Team', 'getting_started', 'One line description of project.',
|
||||
'Miscellaneous'),
|
||||
(
|
||||
'index',
|
||||
'getting_started',
|
||||
u'getting_started Documentation',
|
||||
u'EdX Doc Team',
|
||||
'getting_started',
|
||||
'One line description of project.',
|
||||
'Miscellaneous',
|
||||
),
|
||||
]
|
||||
|
||||
# Documents to append as an appendix to all manuals.
|
||||
|
||||
Reference in New Issue
Block a user