mirror of
https://github.com/godotengine/godot.git
synced 2025-02-16 07:40:36 +00:00
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:
parent
681575fa71
commit
97c8508f5e
@ -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) )
|
||||
|
||||
|
||||
|
@ -173,7 +173,7 @@ def make_method(
|
||||
m,
|
||||
declare,
|
||||
event=False,
|
||||
):
|
||||
):
|
||||
|
||||
s = ' * '
|
||||
ret_type = 'void'
|
||||
|
@ -260,7 +260,7 @@ def make_method(
|
||||
cname,
|
||||
event=False,
|
||||
pp=None
|
||||
):
|
||||
):
|
||||
|
||||
if (declare or pp==None):
|
||||
t = '- '
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user