misc: Update black to process src/python/m5/ext/pystats

The exclusion in .pre-commit-config.yaml covered all files in
src/python/m5/ext. This excludes src/python/m5/exit/pystats, which we
want covered by black. This commit updates .pre-commit-config.yaml to
only exclude src/python/m5/ext/pyfdt.

This change also runs black on these files.

Change-Id: Iecff45ea2a27a37fc0d00b867d41300aad911c7a
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/63711
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Bobby Bruce <bbruce@ucdavis.edu>
Maintainer: Bobby Bruce <bbruce@ucdavis.edu>
This commit is contained in:
Bobby R. Bruce
2022-09-16 13:01:57 -07:00
committed by Bobby Bruce
parent 5204b58e19
commit be33be87da
4 changed files with 7 additions and 4 deletions

View File

@@ -44,7 +44,7 @@ exclude: |
build/.*|
src/systemc/ext/.*|
src/systemc/tests/.*/.*|
src/python/m5/ext/.*|
src/python/m5/ext/pyfdt/.*|
tests/.*/ref/.*
)$