1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +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:
Rémi Verschelde
2016-11-02 22:26:55 +01:00
parent 7c92b401f1
commit 561c1f17a1
84 changed files with 6637 additions and 6637 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 = '- '

File diff suppressed because it is too large Load Diff

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)

View File

@@ -4,7 +4,7 @@ Import('env')
files = [
'thread_winrt.cpp',
# '#platform/windows/stream_peer_winsock.cpp',
# '#platform/windows/stream_peer_winsock.cpp',
'gl_context_egl.cpp',
'app.cpp',
'os_winrt.cpp',