misc: Run pre-commit run on all files in repo
The following command was run: ``` pre-commit run --all-files ``` This ensures all the files in the repository are formatted to pass our checks. Change-Id: Ia2fe3529a50ad925d1076a612d60a4280adc40de Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/62572 Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com> Maintainer: Jason Lowe-Power <power.jg@gmail.com> Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
This commit is contained in:
committed by
Bobby Bruce
parent
64add0e04d
commit
2bc5a8b71a
@@ -39,10 +39,10 @@ from style.repo import GitRepo
|
||||
|
||||
def _printErrorQuit(error_message):
|
||||
"""
|
||||
Print an error message, followed my a help message and inform failure.
|
||||
Print an error message, followed my a help message and inform failure.
|
||||
|
||||
@param error_message A message describing the error that caused the
|
||||
failure.
|
||||
@param error_message A message describing the error that caused the
|
||||
failure.
|
||||
"""
|
||||
print(error_message)
|
||||
|
||||
@@ -90,10 +90,10 @@ e.g.:
|
||||
|
||||
def _validateTags(commit_header):
|
||||
"""
|
||||
Check if all tags in the commit header belong to the list of valid
|
||||
gem5 tags.
|
||||
Check if all tags in the commit header belong to the list of valid
|
||||
gem5 tags.
|
||||
|
||||
@param commit_header The first line of the commit message.
|
||||
@param commit_header The first line of the commit message.
|
||||
"""
|
||||
|
||||
# List of valid tags
|
||||
|
||||
Reference in New Issue
Block a user