From 0fd9c35495cee813e28d2522e1504bf9d28f96e2 Mon Sep 17 00:00:00 2001 From: Hideo Hattori Date: Tue, 23 Oct 2018 11:54:07 +0900 Subject: [PATCH] strict autopep8 --- autopep8.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/autopep8.py b/autopep8.py index c81012ce..3d81efa7 100755 --- a/autopep8.py +++ b/autopep8.py @@ -1228,7 +1228,10 @@ def fix_w503(self, result): break to_index = line_index + 1 strip_line = self.source[from_index].lstrip() - if not found_not_comment_only_line and strip_line and strip_line[0] == '#': + if ( + not found_not_comment_only_line and + strip_line and strip_line[0] == '#' + ): comment_only_linenum += 1 continue found_not_comment_only_line = True