diff --git a/python/lib/dependabot/python/pipenv_runner.rb b/python/lib/dependabot/python/pipenv_runner.rb index d65ab0ff9f..bb7fc6857d 100644 --- a/python/lib/dependabot/python/pipenv_runner.rb +++ b/python/lib/dependabot/python/pipenv_runner.rb @@ -17,7 +17,7 @@ def initialize(dependency:, lockfile:, language_version_manager:) @language_version_manager = language_version_manager end - sig { params(constraint: String).void } + sig { params(constraint: String).returns(String) } def run_upgrade(constraint) constraint = "" if constraint == "*" command = "pyenv exec pipenv upgrade --verbose #{dependency_name}#{constraint}" @@ -26,7 +26,7 @@ def run_upgrade(constraint) run(command, fingerprint: "pyenv exec pipenv upgrade --verbose ") end - sig { params(constraint: String).void } + sig { params(constraint: String).returns(T.untyped) } def run_upgrade_and_fetch_version(constraint) run_upgrade(constraint)