From: Boris Shingarov Date: Thu, 4 Feb 2021 16:43:23 +0000 (-0500) Subject: util,python: Ignore ELF binary blobs in pre-commit X-Git-Tag: develop-gem5-snapshot~141 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a116ff6bc7897ee53147676ac7d010c7d63aa3df;p=gem5.git 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 --- 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)|"