mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-12 04:22:58 +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
@@ -143,13 +143,15 @@ class CondaPackageHelper:
|
||||
continue
|
||||
current = min(inst_vs, key=CondaPackageHelper.semantic_cmp)
|
||||
newest = avail_vs[-1]
|
||||
if avail_vs and current != newest:
|
||||
if CondaPackageHelper.semantic_cmp(
|
||||
current
|
||||
) < CondaPackageHelper.semantic_cmp(newest):
|
||||
self.comparison.append(
|
||||
{"Package": pkg, "Current": current, "Newest": newest}
|
||||
)
|
||||
if (
|
||||
avail_vs
|
||||
and current != newest
|
||||
and CondaPackageHelper.semantic_cmp(current)
|
||||
< CondaPackageHelper.semantic_cmp(newest)
|
||||
):
|
||||
self.comparison.append(
|
||||
{"Package": pkg, "Current": current, "Newest": newest}
|
||||
)
|
||||
return self.comparison
|
||||
|
||||
@staticmethod
|
||||
|
Reference in New Issue
Block a user