diff options
| author | Rémi Verschelde | 2016-11-02 22:26:55 +0100 |
|---|---|---|
| committer | Rémi Verschelde | 2016-11-02 22:26:55 +0100 |
| commit | 561c1f17a12a42b8263ce7dd40d90e1e9633c1de (patch) | |
| tree | b150ac41d41bc8a7602a2098a6a135f34221164a /tools/scripts/makeargs.py | |
| parent | 7c92b401f1d51f1a474e4fb37480c8b626c9dd47 (diff) | |
| download | godot-561c1f17a12a42b8263ce7dd40d90e1e9633c1de.tar.gz godot-561c1f17a12a42b8263ce7dd40d90e1e9633c1de.tar.zst godot-561c1f17a12a42b8263ce7dd40d90e1e9633c1de.zip | |
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.
Diffstat (limited to 'tools/scripts/makeargs.py')
| -rw-r--r-- | tools/scripts/makeargs.py | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/tools/scripts/makeargs.py b/tools/scripts/makeargs.py index 8c5539c5f..7db9da82a 100644 --- a/tools/scripts/makeargs.py +++ b/tools/scripts/makeargs.py @@ -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) |
