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:
@@ -45,11 +45,11 @@ import sys
|
||||
import tempfile
|
||||
import textwrap
|
||||
|
||||
from gem5_scons.util import get_termcap
|
||||
from gem5_scons.configure import Configure
|
||||
from gem5_scons.defaults import EnvDefaults
|
||||
import SCons.Node.Python
|
||||
import SCons.Script
|
||||
from gem5_scons.configure import Configure
|
||||
from gem5_scons.defaults import EnvDefaults
|
||||
from gem5_scons.util import get_termcap
|
||||
|
||||
termcap = get_termcap()
|
||||
|
||||
|
||||
@@ -39,12 +39,13 @@
|
||||
|
||||
import os.path
|
||||
|
||||
from gem5_scons import Transform, MakeAction
|
||||
from blob import bytesToCppArray
|
||||
|
||||
from code_formatter import code_formatter
|
||||
|
||||
import SCons.Node.Python
|
||||
from blob import bytesToCppArray
|
||||
from code_formatter import code_formatter
|
||||
from gem5_scons import (
|
||||
MakeAction,
|
||||
Transform,
|
||||
)
|
||||
|
||||
|
||||
def build_blob(target, source, env):
|
||||
|
||||
@@ -38,7 +38,10 @@
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
from gem5_scons import Transform, MakeAction
|
||||
from gem5_scons import (
|
||||
MakeAction,
|
||||
Transform,
|
||||
)
|
||||
|
||||
###################################################
|
||||
#
|
||||
|
||||
@@ -40,7 +40,10 @@
|
||||
|
||||
import os.path
|
||||
|
||||
from gem5_scons import Transform, MakeAction
|
||||
from gem5_scons import (
|
||||
MakeAction,
|
||||
Transform,
|
||||
)
|
||||
|
||||
###################################################
|
||||
#
|
||||
|
||||
@@ -25,9 +25,10 @@
|
||||
|
||||
import os
|
||||
|
||||
from . import error
|
||||
import kconfiglib
|
||||
|
||||
from . import error
|
||||
|
||||
_kconfig_helpers = {
|
||||
"DEFCONFIG_PY": "defconfig.py",
|
||||
"GUICONFIG_PY": "guiconfig.py",
|
||||
|
||||
@@ -66,7 +66,11 @@ def readCommand(cmd, **kwargs):
|
||||
:returns: command stdout
|
||||
:rtype: string
|
||||
"""
|
||||
from subprocess import Popen, PIPE, STDOUT
|
||||
from subprocess import (
|
||||
PIPE,
|
||||
STDOUT,
|
||||
Popen,
|
||||
)
|
||||
|
||||
if isinstance(cmd, str):
|
||||
cmd = cmd.split()
|
||||
|
||||
@@ -38,10 +38,10 @@
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
from asyncio import subprocess
|
||||
import os
|
||||
import sys
|
||||
import subprocess
|
||||
import sys
|
||||
from asyncio import subprocess
|
||||
|
||||
import gem5_scons.util
|
||||
import SCons.Script
|
||||
|
||||
Reference in New Issue
Block a user