diff --git a/tests/lint/line_length.py b/tests/lint/line_length.py index 2b82b190..9266936f 100755 --- a/tests/lint/line_length.py +++ b/tests/lint/line_length.py @@ -38,12 +38,11 @@ def endswithstring(line): True if line ends with string, False otherwise. """ - return any(line.endswith(end) - for end in ('"', '",', '");', '";', '" \\', '];')) + return any(line.endswith(end) for end in ('"', '",', '");', '";', '" \\', '];')) def main(): - """Check each file provided as a command line parameter + """Check each file provided as a command line parameter. Returns -------