mirror of
https://github.com/godotengine/godot.git
synced 2025-10-30 05:01:10 +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
88 changed files with 6291 additions and 6291 deletions
|
|
@ -67,20 +67,20 @@ text="""
|
|||
|
||||
for i in range(1,8):
|
||||
|
||||
tp=""
|
||||
p=""
|
||||
t=""
|
||||
for j in range(i):
|
||||
if (j>0):
|
||||
tp+=", "
|
||||
p+=", "
|
||||
t+=", "
|
||||
tp +=("m_arg"+str(j+1)+" p"+str(j+1))
|
||||
p+=("p"+str(j+1))
|
||||
t+=("m_arg"+str(j+1))
|
||||
tp=""
|
||||
p=""
|
||||
t=""
|
||||
for j in range(i):
|
||||
if (j>0):
|
||||
tp+=", "
|
||||
p+=", "
|
||||
t+=", "
|
||||
tp +=("m_arg"+str(j+1)+" p"+str(j+1))
|
||||
p+=("p"+str(j+1))
|
||||
t+=("m_arg"+str(j+1))
|
||||
|
||||
t = text.replace("$argtp",tp).replace("$argp",p).replace("$argt",t).replace("$num",str(i))
|
||||
print(t)
|
||||
t = text.replace("$argtp",tp).replace("$argp",p).replace("$argt",t).replace("$num",str(i))
|
||||
print(t)
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue