Strict coding style adherence

This commit is contained in:
Alexander Bock
2017-11-26 14:57:26 -05:00
parent 8e0fde947d
commit 38338725b9
23 changed files with 58 additions and 48 deletions

View File

@@ -338,7 +338,7 @@ def check_empty_character_at_end(lines):
if not is_strict_mode:
return ''
index = [i + 1 for i, s in enumerate(lines) if len(s) > 1 and s[-2] == ' ']
index = [i + 1 for i, s in enumerate(lines) if len(s) > 1 and s[-2] == ' ' and not s.strip() == '']
if len(index) > 0:
return index
else: