You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +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:
@@ -6,6 +6,7 @@ import sys
|
||||
def is_active():
|
||||
return True
|
||||
|
||||
|
||||
def get_name():
|
||||
return "Server"
|
||||
|
||||
@@ -17,6 +18,7 @@ def can_build():
|
||||
|
||||
return True # enabled
|
||||
|
||||
|
||||
def get_opts():
|
||||
|
||||
return [
|
||||
@@ -24,13 +26,13 @@ def get_opts():
|
||||
('force_32_bits', 'Force 32 bits binary', 'no')
|
||||
]
|
||||
|
||||
|
||||
def get_flags():
|
||||
|
||||
return [
|
||||
]
|
||||
|
||||
|
||||
|
||||
def configure(env):
|
||||
|
||||
env.Append(CPPPATH=['#platform/server'])
|
||||
@@ -47,13 +49,11 @@ def configure(env):
|
||||
else:
|
||||
env["bits"] = "32"
|
||||
|
||||
|
||||
# if (env["tools"]=="no"):
|
||||
# #no tools suffix
|
||||
# env['OBJSUFFIX'] = ".nt"+env['OBJSUFFIX']
|
||||
# env['LIBSUFFIX'] = ".nt"+env['LIBSUFFIX']
|
||||
|
||||
|
||||
if (env["target"] == "release"):
|
||||
|
||||
env.Append(CCFLAGS=['-O2', '-ffast-math', '-fomit-frame-pointer'])
|
||||
@@ -73,4 +73,3 @@ def configure(env):
|
||||
env.Append(CPPFLAGS=['-DTYPED_METHOD_BIND'])
|
||||
env["CC"] = "clang"
|
||||
env["LD"] = "clang++"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user