docker.py: remove workaround for old black
MODIFY
repo2docker/docker.py
repo2docker/docker.py
@@ -61,10 +61,7 @@ class DockerEngine(ContainerEngine):
dockerfile="",
fileobj=None,
path="",
- # fmt: off
- # black adds a trailing , but this is invalid in Python 3.5
**kwargs
- # fmt: on
):
return self._apiclient.build(
buildargs=buildargs,
@@ -102,10 +99,7 @@ class DockerEngine(ContainerEngine):
publish_all_ports=False,
remove=False,
volumes=None,
- # fmt: off
- # black adds a trailing , but this is invalid in Python 3.5
**kwargs
- # fmt: on
):
client = docker.from_env(version="auto")
container = client.containers.run(

docker.py: remove workaround for old black