style: Start applying PEP8 to Python files, indentation issues

Done with `autopep8 --select=E1`, fixes:

- E101 - Reindent all lines.
- E112 - Fix under-indented comments.
- E113 - Fix over-indented comments.
- E115 - Fix under-indented comments.
- E116 - Fix over-indented comments.
- E121 - Fix a badly indented line.
- E122 - Fix a badly indented line.
- E123 - Fix a badly indented line.
- E124 - Fix a badly indented line.
- E125 - Fix indentation undistinguish from the next logical line.
- E126 - Fix a badly indented line.
- E127 - Fix a badly indented line.
- E128 - Fix a badly indented line.
- E129 - Fix a badly indented line.
This commit is contained in:
Rémi Verschelde 2016-10-30 18:44:57 +01:00
parent 681575fa71
commit 97c8508f5e
88 changed files with 6291 additions and 6291 deletions

View File

@ -545,7 +545,7 @@ def make_html_class(node):
method_table.attrib["class"]="method_list";
for m in list(methods):
# li = ET.SubElement(div2, "li")
#li = ET.SubElement(div2, "li")
method_table.append( make_method_def(node.attrib["name"],m,False) )
events = node.find("signals")
@ -558,7 +558,7 @@ def make_html_class(node):
event_table.attrib["class"]="method_list";
for m in list(events):
# li = ET.SubElement(div2, "li")
#li = ET.SubElement(div2, "li")
event_table.append( make_method_def(node.attrib["name"],m,False,True) )

View File

@ -173,7 +173,7 @@ def make_method(
m,
declare,
event=False,
):
):
s = ' * '
ret_type = 'void'

View File

@ -260,7 +260,7 @@ def make_method(
cname,
event=False,
pp=None
):
):
if (declare or pp==None):
t = '- '

View File

@ -7,9 +7,9 @@ files = [
'godot_main_osx.mm',
'audio_driver_osx.cpp',
'sem_osx.cpp',
# 'context_gl_osx.cpp',
# 'context_gl_osx.cpp',
'dir_access_osx.mm',
'joystick_osx.cpp',
]
]
env.Program('#bin/godot',files)