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
@@ -41,13 +41,13 @@
|
||||
import SCons.Node.FS
|
||||
|
||||
fs = SCons.Node.FS.get_default_fs()
|
||||
root = fs.Dir('#')
|
||||
root = fs.Dir("#")
|
||||
extra_python_nodes = [
|
||||
root.Dir('src').Dir('python').srcnode(), # gem5 includes
|
||||
root.Dir('ext').Dir('ply').srcnode(), # ply is used by several files
|
||||
root.Dir('ext').Dir('Kconfiglib').Dir('import').srcnode(), # kconfiglib
|
||||
root.Dir("src").Dir("python").srcnode(), # gem5 includes
|
||||
root.Dir("ext").Dir("ply").srcnode(), # ply is used by several files
|
||||
root.Dir("ext").Dir("Kconfiglib").Dir("import").srcnode(), # kconfiglib
|
||||
]
|
||||
|
||||
extra_python_paths = [ node.abspath for node in extra_python_nodes ]
|
||||
extra_python_paths = [node.abspath for node in extra_python_nodes]
|
||||
|
||||
__all__ = ['extra_python_paths']
|
||||
__all__ = ["extra_python_paths"]
|
||||
|
||||
Reference in New Issue
Block a user