The new woob repository is here: This gitlab will be removed soon.

Commit b862de3e authored by Vincent A's avatar Vincent A

tools/hooks: don't use f-strings without placeholder (flake8 warning)

parent f5ecb8c1
......@@ -45,7 +45,7 @@ def check_lines(self):
elif token.type == tokenize.COMMENT:
if token.start[1] + 1 >= args.line_length:
f"comment starts after max line length",
"comment starts after max line length",
elif token.end[1] >= args.line_length:
......@@ -57,7 +57,7 @@ def check_lines(self):
offending_token = token
f"line too long not due to a string",
"line too long not due to a string",
crossing = False
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment