From 1c9fd977aa5e8a2f115554a15e4a5e804e638ccb Mon Sep 17 00:00:00 2001 From: James Zern Date: Thu, 18 Jun 2020 18:34:55 -0700 Subject: [PATCH] tools/lint-hunks.py: skip third_party files Change-Id: I2fda3119c08b5755f1a9b2fad1125090b0d86850 --- tools/lint-hunks.py | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.49.0