mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 16:33:30 +00:00
style: Fix PEP8 blank lines issues in Python files
Done with `autopep8 --select=E3,W3`, fixes: - E301 - Add missing blank line. - E302 - Add missing 2 blank lines. - E303 - Remove extra blank lines. - E304 - Remove blank line following function decorator. - E309 - Add missing blank line. - W391 - Remove trailing blank lines.
This commit is contained in:
parent
d4c17700aa
commit
817dd7ccbb
53 changed files with 115 additions and 193 deletions
|
@ -2,6 +2,7 @@ import binascii
|
|||
import os.path
|
||||
import sys
|
||||
|
||||
|
||||
def tof(filepath):
|
||||
with open(filepath, 'r') as f:
|
||||
content = f.read()
|
||||
|
@ -15,6 +16,7 @@ def tof(filepath):
|
|||
print(os.path.basename(filepath) + ".file created.")
|
||||
exit(0)
|
||||
|
||||
|
||||
def toa(filepath):
|
||||
with open(filepath, 'rb') as f:
|
||||
content = f.read()
|
||||
|
@ -28,6 +30,7 @@ def toa(filepath):
|
|||
print(os.path.basename(filepath) + ".array created.")
|
||||
exit(0)
|
||||
|
||||
|
||||
def usage():
|
||||
print("========================================================\n\
|
||||
#\n\
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue