From a116ff6bc7897ee53147676ac7d010c7d63aa3df Mon Sep 17 00:00:00 2001 From: Boris Shingarov Date: Thu, 4 Feb 2021 11:43:23 -0500 Subject: [PATCH] util,python: Ignore ELF binary blobs in pre-commit Change-Id: I60554b2ae7536687a6c0a883a7678f793c3c77d4 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/40636 Reviewed-by: Jason Lowe-Power Maintainer: Jason Lowe-Power Tested-by: kokoro --- util/style/style.py | 1 + 1 file changed, 1 insertion(+) diff --git a/util/style/style.py b/util/style/style.py index 1a5e94bdc..d8afd099b 100644 --- a/util/style/style.py +++ b/util/style/style.py @@ -106,6 +106,7 @@ style_ignores = [ _re_ignore("^ext/"), # Ignore test data, as they are not code _re_ignore("^tests/(?:quick|long)/"), + _re_ignore("^tests/test-progs/hello/bin/"), # Only include Scons files and those with extensions that suggest source # code _re_only("^((.*\/)?(SConscript|SConstruct)|" -- 2.30.2