Skip to content

Commit

Permalink
ci/test.py: Update for latest black formatting
Browse files Browse the repository at this point in the history
The latest version of black requires a few more corrections
  • Loading branch information
JoshuaWatt committed Sep 26, 2022
1 parent f70ed62 commit 507f3d5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ci/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ def _write_host_command(
cwd=PYREX_ROOT,
builddir=None,
bitbakedir="",
init_env={}
init_env={},
):
if builddir is None:
builddir = self.build_dir
Expand Down Expand Up @@ -251,7 +251,7 @@ def assertPyrexHostCommand(
builddir=None,
bitbakedir="",
init_env={},
**kwargs
**kwargs,
):
cmd_file, command = self._write_host_command(
args,
Expand All @@ -265,7 +265,7 @@ def assertPyrexHostCommand(
[os.environ.get("SHELL", "/bin/bash"), cmd_file],
pretty_command=command,
cwd=cwd,
**kwargs
**kwargs,
)

def assertPyrexContainerShellCommand(self, *args, **kwargs):
Expand Down Expand Up @@ -343,7 +343,7 @@ def capture_pyrex_state(*args, **kwargs):
self.assertPyrexContainerShellCommand(
"cp --no-preserve=all /proc/1/cmdline %s" % capture_file,
*args,
**kwargs
**kwargs,
)
with open(capture_file, "rb") as f:
return f.read()
Expand Down

0 comments on commit 507f3d5

Please sign in to comment.