aboutsummaryrefslogtreecommitdiff
path: root/platform/javascript/detect.py
diff options
context:
space:
mode:
authorRémi Verschelde2016-11-02 22:29:36 +0100
committerRémi Verschelde2016-11-02 22:29:36 +0100
commita7389217f8170dde67fa6bb50c1046ae4a5a9e5a (patch)
tree9038a02fd751230f58d90063b399d71a125f5f6c /platform/javascript/detect.py
parente259bf8bbb00c5555675892295ce50aa32695737 (diff)
downloadgodot-a7389217f8170dde67fa6bb50c1046ae4a5a9e5a.tar.gz
godot-a7389217f8170dde67fa6bb50c1046ae4a5a9e5a.tar.zst
godot-a7389217f8170dde67fa6bb50c1046ae4a5a9e5a.zip
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.
Diffstat (limited to 'platform/javascript/detect.py')
-rw-r--r--platform/javascript/detect.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/platform/javascript/detect.py b/platform/javascript/detect.py
index 0410b5b18..160b3815a 100644
--- a/platform/javascript/detect.py
+++ b/platform/javascript/detect.py
@@ -2,12 +2,15 @@ import os
import sys
import string
+
def is_active():
return True
+
def get_name():
return "JavaScript"
+
def can_build():
import os
@@ -15,12 +18,14 @@ def can_build():
return False
return True
+
def get_opts():
return [
['compress', 'Compress JS Executable', 'no']
]
+
def get_flags():
return [
@@ -33,7 +38,6 @@ def get_flags():
]
-
def configure(env):
env['ENV'] = os.environ;
env.use_windows_spawn_fix('javascript')