mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-06 03:29:44 -06:00
Strict coding style adherence
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user