From: James Zern Date: Fri, 19 Jun 2020 01:34:55 +0000 (-0700) Subject: tools/lint-hunks.py: skip third_party files X-Git-Tag: v1.10.0-rc1~110^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1c9fd977aa5e8a2f115554a15e4a5e804e638ccb;p=libvpx tools/lint-hunks.py: skip third_party files Change-Id: I2fda3119c08b5755f1a9b2fad1125090b0d86850 --- diff --git a/tools/lint-hunks.py b/tools/lint-hunks.py index 6e25d9362..30d324919 100755 --- a/tools/lint-hunks.py +++ b/tools/lint-hunks.py @@ -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