Skip to content

Commit 9299ab0

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent eb47b61 commit 9299ab0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

jupyterhub/files/hub/jupyterhub_config.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,9 @@ def camelCaseify(s):
128128
chart_name = get_config("Chart.Name")
129129
chart_version = get_config("Chart.Version")
130130
if chart_name and chart_version:
131-
common_labels["helm.sh/chart"] = common_labels["chart"] = f"{chart_name}-{chart_version.replace('+', '_')}"
131+
common_labels["helm.sh/chart"] = common_labels["chart"] = (
132+
f"{chart_name}-{chart_version.replace('+', '_')}"
133+
)
132134
chart_app_version = get_config("Chart.AppVersion")
133135
if chart_app_version:
134136
common_labels["app.kubernetes.io/version"] = chart_app_version

0 commit comments

Comments
 (0)