summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--build/scripts/clang_tidy_arch.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/scripts/clang_tidy_arch.py b/build/scripts/clang_tidy_arch.py
index cfceffef82b..6a4eabe76f8 100644
--- a/build/scripts/clang_tidy_arch.py
+++ b/build/scripts/clang_tidy_arch.py
@@ -15,7 +15,7 @@ def main():
inputs = unknown_args
result_json = {}
for inp in inputs:
- if os.path.exists(inp) and inp.endswith(".tidyjson"):
+ if inp.endswith(".tidyjson") and not inp.endswith(".global.tidyjson") and os.path.exists(inp):
with open(inp, 'r') as afile:
file_content = afile.read().strip()
if not file_content: