misc: Run pre-commit run --all-files

This ensures `isort` is applied to all files in the repo.

Change-Id: Ib7ced1c924ef1639542bf0d1a01c5737f6ba43e9
This commit is contained in:
Bobby R. Bruce
2023-11-29 22:06:41 -08:00
parent 7d67109ca2
commit d11c40dcac
681 changed files with 3729 additions and 2487 deletions

View File

@@ -42,6 +42,7 @@ import m5
# import all of the SimObjects
from m5.objects import *
from gem5.runtime import get_runtime_isa
# Add the common scripts to our path

View File

@@ -37,9 +37,11 @@ IMPORTANT: If you modify this file, it's likely that the Learning gem5 book
import math
from m5.defines import buildEnv
from m5.util import fatal, panic
from m5.objects import *
from m5.util import (
fatal,
panic,
)
class MyCacheSystem(RubySystem):

View File

@@ -39,9 +39,11 @@ IMPORTANT: If you modify this file, it's likely that the Learning gem5 book
import math
from m5.defines import buildEnv
from m5.util import fatal, panic
from m5.objects import *
from m5.util import (
fatal,
panic,
)
class MyCacheSystem(RubySystem):

View File

@@ -33,14 +33,14 @@ IMPORTANT: If you modify this file, it's likely that the Learning gem5 book
"""
from test_caches import TestCacheSystem
# import the m5 (gem5) library created when gem5 is built
import m5
# import all of the SimObjects
from m5.objects import *
from test_caches import TestCacheSystem
# create the system we are going to simulate
system = System()

View File

@@ -34,12 +34,15 @@ IMPORTANT: If you modify this file, it's likely that the Learning gem5 book
"""
from msi_caches import (
DirController,
L1Cache,
MyNetwork,
)
from m5.defines import buildEnv
from m5.util import fatal
from m5.objects import *
from msi_caches import L1Cache, DirController, MyNetwork
from m5.util import fatal
class TestCacheSystem(RubySystem):