From 97c8508f5e4f57b1048830d44e76e1f4517fd449 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Sun, 30 Oct 2016 18:44:57 +0100 Subject: 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. --- modules/mpc/config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/mpc/config.py') diff --git a/modules/mpc/config.py b/modules/mpc/config.py index 368e97e152..3de0425119 100644 --- a/modules/mpc/config.py +++ b/modules/mpc/config.py @@ -1,6 +1,6 @@ def can_build(platform): - return True + return True def configure(env): - pass + pass -- cgit v1.2.3 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/mpc/config.py | 1 + 1 file changed, 1 insertion(+) (limited to 'modules/mpc/config.py') 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 -- cgit v1.2.3