Skip to content

Commit

Permalink
Merge branch 'main' into harry/sorbet-typechecking-elm-req-updater
Browse files Browse the repository at this point in the history
  • Loading branch information
thavaahariharangit authored Jan 23, 2025
2 parents 05d75b8 + 0384fa4 commit 576341c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/lib/dependabot/python/pipenv_runner.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def run_upgrade(constraint)
run(command, fingerprint: "pyenv exec pipenv upgrade --verbose <dependency_name><constraint>")
end

sig { params(constraint: String).returns(String) }
sig { params(constraint: String).returns(T.nilable(String)) }
def run_upgrade_and_fetch_version(constraint)
run_upgrade(constraint)

Expand Down Expand Up @@ -62,7 +62,7 @@ def run(command, fingerprint: nil)
sig { returns(LanguageVersionManager) }
attr_reader :language_version_manager

sig { params(updated_lockfile: T.untyped).returns(T.untyped) }
sig { params(updated_lockfile: T::Hash[String, T.untyped]).returns(T.nilable(String)) }
def fetch_version_from_parsed_lockfile(updated_lockfile)
deps = updated_lockfile[lockfile_section] || {}

Expand Down

0 comments on commit 576341c

Please sign in to comment.