Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Nov 4, 2021
1 parent deb1b87 commit d95a7dc
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions cibuildwheel/docker_container.py
Expand Up @@ -31,7 +31,12 @@ class DockerContainer:
bash_stdout: IO[bytes]

def __init__(
self, *, docker_image: str, simulate_32_bit: bool = False, network_host: bool = False, cwd: Optional[PathOrStr] = None
self,
*,
docker_image: str,
simulate_32_bit: bool = False,
network_host: bool = False,
cwd: Optional[PathOrStr] = None,
):
if not docker_image:
raise ValueError("Must have a non-empty docker image to run.")
Expand All @@ -55,7 +60,7 @@ def __enter__(self) -> "DockerContainer":
f"--name={self.name}",
"--interactive",
"--volume=/:/host", # ignored on CircleCI
network_args, # mainly for TravisCI PPC64le
network_args, # mainly for TravisCI PPC64le
*cwd_args,
self.docker_image,
*shell_args,
Expand Down

0 comments on commit d95a7dc

Please sign in to comment.