Remove os.path.abspath() in ignore paths
The filenames are actually relative in validate(), so nothing matches otherwise. Change-Id: Ie9c3d2f0592817e893125f7725e9cd5e9037a942
This commit is contained in:
parent
f612f0e508
commit
6868551b12
|
@ -75,7 +75,7 @@ def parse_ignore_path_errors(entries):
|
||||||
ignore_path_errors = collections.defaultdict(set)
|
ignore_path_errors = collections.defaultdict(set)
|
||||||
for path in entries:
|
for path in entries:
|
||||||
path, ignored_errors = path.split(";", 1)
|
path, ignored_errors = path.split(";", 1)
|
||||||
path = os.path.abspath(path.strip())
|
path = path.strip()
|
||||||
ignored_errors = split_set_type(ignored_errors, delimiter=";")
|
ignored_errors = split_set_type(ignored_errors, delimiter=";")
|
||||||
ignore_path_errors[path].update(ignored_errors)
|
ignore_path_errors[path].update(ignored_errors)
|
||||||
return dict(ignore_path_errors)
|
return dict(ignore_path_errors)
|
||||||
|
|
Loading…
Reference in New Issue