We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93bcc4d commit ca879ccCopy full SHA for ca879cc
relint.py
@@ -85,7 +85,10 @@ def main():
85
lines = match.string.splitlines()
86
87
line_no = match.string[:match.start()].count('\n')
88
- print(f"{filename}:{line_no + 1} {test.name}")
+ output_format = "{filename}:{line_no} {test.name}"
89
+ print(output_format.format(
90
+ filename=filename, line_no=line_no + 1, test=test,
91
+ ))
92
if test.hint:
93
print("Hint:", test.hint)
94
print("> ", lines[line_no])
0 commit comments