]> granicus.if.org Git - libvpx/commitdiff
tools/lint-hunks.py: skip third_party files
authorJames Zern <jzern@google.com>
Fri, 19 Jun 2020 01:34:55 +0000 (18:34 -0700)
committerJames Zern <jzern@google.com>
Fri, 19 Jun 2020 01:34:55 +0000 (18:34 -0700)
Change-Id: I2fda3119c08b5755f1a9b2fad1125090b0d86850

tools/lint-hunks.py

index 6e25d93624ddb6840c65ee5f4e7c3d845c653f24..30d3249193bc3c1d906735a16ae1ebeb82a7c6f2 100755 (executable)
@@ -106,6 +106,8 @@ def main(argv=None):
         for filename, affected_lines in file_affected_line_map.iteritems():
             if filename.split(".")[-1] not in ("c", "h", "cc"):
                 continue
+            if filename.startswith("third_party"):
+                continue
 
             if args:
                 # File contents come from git