python: Apply Black formatter to Python files
The command executed was `black src configs tests util`. Change-Id: I8dfaa6ab04658fea37618127d6ac19270028d771 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/47024 Maintainer: Bobby Bruce <bbruce@ucdavis.edu> Reviewed-by: Jason Lowe-Power <power.jg@gmail.com> Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com> Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
committed by
Giacomo Travaglini
parent
1cfaa8da83
commit
787204c92d
@@ -24,6 +24,7 @@
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
from m5.SimObject import *
|
||||
|
||||
# The ByteOrder enum is defined in params. Expose it here so we can declare it
|
||||
# to SCons, since there's no normal SimObject file to make it a part of.
|
||||
from m5.params import ByteOrder
|
||||
|
||||
@@ -25,5 +25,5 @@
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
for module in __spec__.loader_state:
|
||||
if module.startswith('m5.objects.'):
|
||||
if module.startswith("m5.objects."):
|
||||
exec("from %s import *" % module)
|
||||
|
||||
Reference in New Issue
Block a user