diff --git a/tools/hooks/check-line-length.py b/tools/hooks/check-line-length.py index 28c5de1bbef11c6b16832597061e73b9cb0f23ff..bd181220f0c31773410b2dc0248cd19e31ef3ce3 100755 --- a/tools/hooks/check-line-length.py +++ b/tools/hooks/check-line-length.py @@ -45,7 +45,7 @@ def check_lines(self): elif token.type == tokenize.COMMENT: if token.start[1] + 1 >= args.line_length: self.add_error( - f"comment starts after max line length", + "comment starts after max line length", line=token.start[0] ) elif token.end[1] >= args.line_length: @@ -57,7 +57,7 @@ def check_lines(self): offending_token = token self.add_error( - f"line too long not due to a string", + "line too long not due to a string", line=offending_token.start[0] ) crossing = False