Loading behave_utils/docker.py +4 −3 Viewed Changes for behave_utils/docker.py: 4 added lines, 3 removed lines. Original line number Diff line number Diff line Loading @@ -16,6 +16,7 @@ import json import logging from contextlib import contextmanager from os import PathLike from os import environ from os import fspath from pathlib import Path from secrets import token_hex Loading Loading @@ -73,14 +74,14 @@ def docker(*args: Argument, **env: str) -> None: """ Run a Docker command, with output going to stdout """ run([DOCKER, *args], env=env, check=True) run([DOCKER, *args], env={**environ, **env}, check=True) def docker_output(*args: Argument, **env: str) -> str: """ Run a Docker command, capturing and returning its stdout """ proc = run([DOCKER, *args], env=env, check=True, stdout=PIPE, text=True) proc = run([DOCKER, *args], env={**environ, **env}, check=True, stdout=PIPE, text=True) return proc.stdout.strip() Loading @@ -88,7 +89,7 @@ def docker_quiet(*args: Argument, **env: str) -> None: """ Run a Docker command, directing its stdout to /dev/null """ run([DOCKER, *args], env=env, check=True, stdout=DEVNULL) run([DOCKER, *args], env={**environ, **env}, check=True, stdout=DEVNULL) class IPv4Address(ipaddress.IPv4Address): Loading .gitlint +3 Viewed Changes for .gitlint: 3 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -4,4 +4,7 @@ ignore=body-trailing-whitespace,body-is-missing [author-valid-email] regex=.*@[a-zA-Z0-9][a-zA-Z0-9-]{1,61}[a-zA-Z0-9](\.[a-zA-Z0-9][a-zA-Z0-9-]{1,61}[a-zA-Z0-9])+ [ignore-body-lines] regex=^Closes [#][0-9]+ # vim:ft=cfg Loading
behave_utils/docker.py +4 −3 Viewed Changes for behave_utils/docker.py: 4 added lines, 3 removed lines. Original line number Diff line number Diff line Loading @@ -16,6 +16,7 @@ import json import logging from contextlib import contextmanager from os import PathLike from os import environ from os import fspath from pathlib import Path from secrets import token_hex Loading Loading @@ -73,14 +74,14 @@ def docker(*args: Argument, **env: str) -> None: """ Run a Docker command, with output going to stdout """ run([DOCKER, *args], env=env, check=True) run([DOCKER, *args], env={**environ, **env}, check=True) def docker_output(*args: Argument, **env: str) -> str: """ Run a Docker command, capturing and returning its stdout """ proc = run([DOCKER, *args], env=env, check=True, stdout=PIPE, text=True) proc = run([DOCKER, *args], env={**environ, **env}, check=True, stdout=PIPE, text=True) return proc.stdout.strip() Loading @@ -88,7 +89,7 @@ def docker_quiet(*args: Argument, **env: str) -> None: """ Run a Docker command, directing its stdout to /dev/null """ run([DOCKER, *args], env=env, check=True, stdout=DEVNULL) run([DOCKER, *args], env={**environ, **env}, check=True, stdout=DEVNULL) class IPv4Address(ipaddress.IPv4Address): Loading
.gitlint +3 Viewed Changes for .gitlint: 3 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -4,4 +4,7 @@ ignore=body-trailing-whitespace,body-is-missing [author-valid-email] regex=.*@[a-zA-Z0-9][a-zA-Z0-9-]{1,61}[a-zA-Z0-9](\.[a-zA-Z0-9][a-zA-Z0-9-]{1,61}[a-zA-Z0-9])+ [ignore-body-lines] regex=^Closes [#][0-9]+ # vim:ft=cfg