tools/lint-hunks.py: skip third_party files
Change-Id: I2fda3119c08b5755f1a9b2fad1125090b0d86850
This commit is contained in:
@@ -106,6 +106,8 @@ def main(argv=None):
|
|||||||
for filename, affected_lines in file_affected_line_map.iteritems():
|
for filename, affected_lines in file_affected_line_map.iteritems():
|
||||||
if filename.split(".")[-1] not in ("c", "h", "cc"):
|
if filename.split(".")[-1] not in ("c", "h", "cc"):
|
||||||
continue
|
continue
|
||||||
|
if filename.startswith("third_party"):
|
||||||
|
continue
|
||||||
|
|
||||||
if args:
|
if args:
|
||||||
# File contents come from git
|
# File contents come from git
|
||||||
|
|||||||
Reference in New Issue
Block a user