Another one
This commit is contained in:
parent
df909ca75b
commit
074cc1b723
@ -131,7 +131,7 @@ def report(items):
|
||||
key=lambda e: (e.filename.lower(), e.first_lineno)):
|
||||
relpath = os.path.relpath(item.filename)
|
||||
path = relpath if not relpath.startswith('..') else item.filename
|
||||
output.append("{}:{}: Unused {} '{}'".format(path, item.lineno,
|
||||
output.append("{}:{}: Unused {} '{}'".format(path, item.first_lineno,
|
||||
item.typ, item.name))
|
||||
return output
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user