Skip to content

Commit 2bd8478

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 07e97ee commit 2bd8478

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

repo2docker/app.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,6 @@ def initialize(self, *args, **kwargs):
572572
if self.volumes and not self.run:
573573
raise ValueError("Cannot mount volumes if container is not run")
574574

575-
576575
def run_image(self):
577576
"""Run docker container from built image
578577

repo2docker/docker.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
Docker container engine for repo2docker
33
"""
44

5-
from argparse import ArgumentError
65
import json
76
import os
87
import shutil
98
import subprocess
109
import tarfile
1110
import tempfile
11+
from argparse import ArgumentError
1212
from contextlib import ExitStack, contextmanager
1313
from pathlib import Path
1414

@@ -110,7 +110,9 @@ def build(
110110
args = ["docker", "buildx", "build", "--progress", "plain"]
111111
if load:
112112
if push:
113-
raise ValueError("Setting push=True and load=True is currently not supported")
113+
raise ValueError(
114+
"Setting push=True and load=True is currently not supported"
115+
)
114116
args.append("--load")
115117

116118
if push:

0 commit comments

Comments
 (0)