misc: Exclude test ref directories from pre-commit
The files in "tests/*./ref" directories are used in tests to check the output of a test is valid. As such these should not be automatically formatted by the pre-commit. Change-Id: I82be1a91132a0b6c66c8bbb8f6d7dcc6e72abe77 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/62631 Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com> Reviewed-by: Jason Lowe-Power <power.jg@gmail.com> Tested-by: kokoro <noreply+kokoro@google.com> Maintainer: Jason Lowe-Power <power.jg@gmail.com>
This commit is contained in:
committed by
Bobby Bruce
parent
ab04acc26e
commit
64add0e04d
@@ -44,7 +44,8 @@ exclude: |
|
||||
build/.*|
|
||||
src/systemc/ext/.*|
|
||||
src/systemc/tests/.*/.*|
|
||||
src/python/m5/ext/.*
|
||||
src/python/m5/ext/.*|
|
||||
tests/.*/ref/.*
|
||||
)$
|
||||
|
||||
default_stages: [commit]
|
||||
|
||||
Reference in New Issue
Block a user