From 817dd7ccbb166b27c93706dffc5c0c0d59fd87f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Sun, 30 Oct 2016 19:05:14 +0100 Subject: 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. --- modules/chibi/config.py | 1 + modules/cscript/config.py | 3 --- modules/dds/config.py | 1 + modules/enet/config.py | 1 + modules/etc1/config.py | 1 + modules/freetype/config.py | 1 + modules/gdscript/config.py | 3 --- modules/gridmap/config.py | 3 --- modules/ik/config.py | 3 --- modules/jpg/config.py | 1 + modules/mpc/config.py | 1 + modules/ogg/config.py | 1 + modules/openssl/config.py | 1 + modules/opus/config.py | 1 + modules/pbm/config.py | 1 + modules/pvr/config.py | 1 + modules/regex/config.py | 3 ++- modules/squish/config.py | 1 + modules/theora/config.py | 1 + modules/visual_script/config.py | 3 --- modules/vorbis/config.py | 1 + modules/webm/config.py | 1 + modules/webp/config.py | 1 + 23 files changed, 19 insertions(+), 16 deletions(-) (limited to 'modules') diff --git a/modules/chibi/config.py b/modules/chibi/config.py index 3de0425119..fb920482f5 100644 --- a/modules/chibi/config.py +++ b/modules/chibi/config.py @@ -2,5 +2,6 @@ def can_build(platform): return True + def configure(env): pass diff --git a/modules/cscript/config.py b/modules/cscript/config.py index ae0a3d75ee..5698a37295 100644 --- a/modules/cscript/config.py +++ b/modules/cscript/config.py @@ -6,6 +6,3 @@ def can_build(platform): def configure(env): pass - - - diff --git a/modules/dds/config.py b/modules/dds/config.py index 3de0425119..fb920482f5 100644 --- a/modules/dds/config.py +++ b/modules/dds/config.py @@ -2,5 +2,6 @@ def can_build(platform): return True + def configure(env): pass diff --git a/modules/enet/config.py b/modules/enet/config.py index 3de0425119..fb920482f5 100644 --- a/modules/enet/config.py +++ b/modules/enet/config.py @@ -2,5 +2,6 @@ def can_build(platform): return True + def configure(env): pass diff --git a/modules/etc1/config.py b/modules/etc1/config.py index 3de0425119..fb920482f5 100644 --- a/modules/etc1/config.py +++ b/modules/etc1/config.py @@ -2,5 +2,6 @@ def can_build(platform): return True + def configure(env): pass diff --git a/modules/freetype/config.py b/modules/freetype/config.py index 3de0425119..fb920482f5 100644 --- a/modules/freetype/config.py +++ b/modules/freetype/config.py @@ -2,5 +2,6 @@ def can_build(platform): return True + def configure(env): pass diff --git a/modules/gdscript/config.py b/modules/gdscript/config.py index ae0a3d75ee..5698a37295 100644 --- a/modules/gdscript/config.py +++ b/modules/gdscript/config.py @@ -6,6 +6,3 @@ def can_build(platform): def configure(env): pass - - - diff --git a/modules/gridmap/config.py b/modules/gridmap/config.py index ae0a3d75ee..5698a37295 100644 --- a/modules/gridmap/config.py +++ b/modules/gridmap/config.py @@ -6,6 +6,3 @@ def can_build(platform): def configure(env): pass - - - diff --git a/modules/ik/config.py b/modules/ik/config.py index ae0a3d75ee..5698a37295 100644 --- a/modules/ik/config.py +++ b/modules/ik/config.py @@ -6,6 +6,3 @@ def can_build(platform): def configure(env): pass - - - diff --git a/modules/jpg/config.py b/modules/jpg/config.py index 3de0425119..fb920482f5 100644 --- a/modules/jpg/config.py +++ b/modules/jpg/config.py @@ -2,5 +2,6 @@ def can_build(platform): return True + def configure(env): pass diff --git a/modules/mpc/config.py b/modules/mpc/config.py index 3de0425119..fb920482f5 100644 --- a/modules/mpc/config.py +++ b/modules/mpc/config.py @@ -2,5 +2,6 @@ def can_build(platform): return True + def configure(env): pass diff --git a/modules/ogg/config.py b/modules/ogg/config.py index 3de0425119..fb920482f5 100644 --- a/modules/ogg/config.py +++ b/modules/ogg/config.py @@ -2,5 +2,6 @@ def can_build(platform): return True + def configure(env): pass diff --git a/modules/openssl/config.py b/modules/openssl/config.py index 3de0425119..fb920482f5 100644 --- a/modules/openssl/config.py +++ b/modules/openssl/config.py @@ -2,5 +2,6 @@ def can_build(platform): return True + def configure(env): pass diff --git a/modules/opus/config.py b/modules/opus/config.py index 3de0425119..fb920482f5 100644 --- a/modules/opus/config.py +++ b/modules/opus/config.py @@ -2,5 +2,6 @@ def can_build(platform): return True + def configure(env): pass diff --git a/modules/pbm/config.py b/modules/pbm/config.py index 3de0425119..fb920482f5 100644 --- a/modules/pbm/config.py +++ b/modules/pbm/config.py @@ -2,5 +2,6 @@ def can_build(platform): return True + def configure(env): pass diff --git a/modules/pvr/config.py b/modules/pvr/config.py index 3de0425119..fb920482f5 100644 --- a/modules/pvr/config.py +++ b/modules/pvr/config.py @@ -2,5 +2,6 @@ def can_build(platform): return True + def configure(env): pass diff --git a/modules/regex/config.py b/modules/regex/config.py index 667b5d8ba6..5347cfd243 100644 --- a/modules/regex/config.py +++ b/modules/regex/config.py @@ -1,8 +1,9 @@ #!/usr/bin/env python + def can_build(platform): return True + def configure(env): pass - diff --git a/modules/squish/config.py b/modules/squish/config.py index 81e6163a9b..cc8f098010 100644 --- a/modules/squish/config.py +++ b/modules/squish/config.py @@ -2,6 +2,7 @@ def can_build(platform): return True + def configure(env): # Tools only, disabled for non-tools # TODO: Find a cleaner way to achieve that diff --git a/modules/theora/config.py b/modules/theora/config.py index 3de0425119..fb920482f5 100644 --- a/modules/theora/config.py +++ b/modules/theora/config.py @@ -2,5 +2,6 @@ def can_build(platform): return True + def configure(env): pass diff --git a/modules/visual_script/config.py b/modules/visual_script/config.py index ae0a3d75ee..5698a37295 100644 --- a/modules/visual_script/config.py +++ b/modules/visual_script/config.py @@ -6,6 +6,3 @@ def can_build(platform): def configure(env): pass - - - diff --git a/modules/vorbis/config.py b/modules/vorbis/config.py index 3de0425119..fb920482f5 100644 --- a/modules/vorbis/config.py +++ b/modules/vorbis/config.py @@ -2,5 +2,6 @@ def can_build(platform): return True + def configure(env): pass diff --git a/modules/webm/config.py b/modules/webm/config.py index 3de0425119..fb920482f5 100644 --- a/modules/webm/config.py +++ b/modules/webm/config.py @@ -2,5 +2,6 @@ def can_build(platform): return True + def configure(env): pass diff --git a/modules/webp/config.py b/modules/webp/config.py index 3de0425119..fb920482f5 100644 --- a/modules/webp/config.py +++ b/modules/webp/config.py @@ -2,5 +2,6 @@ def can_build(platform): return True + def configure(env): pass -- cgit v1.2.3