Skip to content

Commit 5eb38c2

Browse files
authored
Merge pull request #646 from ananace/lint-fixes
Fix linting complaints
2 parents 5165021 + a18248f commit 5eb38c2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

manifests/pip.pp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@
217217
# Unfortunately this is the smartest way of getting the latest available package version with pip as of now
218218
# Note: we DO need to repeat ourselves with "from version" in both grep and sed as on some systems pip returns
219219
# more than one line with paretheses.
220-
$latest_version = join( [
220+
$latest_version = join([
221221
"${pip_install} ${legacy_resolver} ${pypi_index} ${pypi_extra_index} ${proxy_flag}",
222222
" ${install_args} ${install_editable} ${real_pkgname}==notreallyaversion 2>&1",
223223
' | grep -oP "\(from versions: .*\)" | sed -E "s/\(from versions: (.*?, )*(.*)\)/\2/g"',
@@ -227,7 +227,7 @@
227227
# Packages with underscores in their names are listed with dashes in their place in `pip freeze` output
228228
$pkgname_with_dashes = regsubst($real_pkgname, '_', '-', 'G')
229229
$grep_regex_pkgname_with_dashes = "^${pkgname_with_dashes}=="
230-
$installed_version = join( ["${pip_env} freeze --all", " | grep -i -e ${grep_regex_pkgname_with_dashes} | cut -d= -f3", " | tr -d '[:space:]'",])
230+
$installed_version = join(["${pip_env} freeze --all", " | grep -i -e ${grep_regex_pkgname_with_dashes} | cut -d= -f3", " | tr -d '[:space:]'",])
231231

232232
$command = "${pip_install} --upgrade ${install_args} ${pip_common_args}"
233233
$unless_command = "[ \$(${latest_version}) = \$(${installed_version}) ]"

0 commit comments

Comments
 (0)