mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-14 21:42:57 +00:00
black style tweaks: manually added commas etc to tweak formatting
This commit is contained in:

committed by
Erik Sundell

parent
fe3968efe0
commit
a582c24e19
@@ -25,7 +25,9 @@ def _get_env_variable(container, variable: str) -> str:
|
||||
def _get_pip_package_version(container, package: str) -> str:
|
||||
VERSION_PREFIX = "Version: "
|
||||
package_info = DockerRunner.run_simple_command(
|
||||
container, cmd=f"pip show {package}", print_result=False
|
||||
container,
|
||||
cmd=f"pip show {package}",
|
||||
print_result=False,
|
||||
)
|
||||
version_line = package_info.split("\n")[1]
|
||||
assert version_line.startswith(VERSION_PREFIX)
|
||||
|
Reference in New Issue
Block a user