Skip to content

Commit

Permalink
Removed commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
randhircs committed Jan 10, 2025
1 parent 8d6b449 commit 0032c61
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ def initialize(pyproject_content:, lockfile: nil)

# For hosted Dependabot token will be nil since the credentials aren't present.
# This is for those running Dependabot themselves and for dry-run.
sig { params(credentials: T.nilable(Hash)).void }
def add_auth_env_vars(credentials)
TomlRB.parse(@pyproject_content).dig("tool", "poetry", "source")&.each do |source|
cred = credentials&.find { |c| c["index-url"] == source["url"] }
Expand Down
2 changes: 0 additions & 2 deletions python/lib/dependabot/python/pipenv_runner.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ def run_upgrade(constraint)
run(command, fingerprint: "pyenv exec pipenv upgrade --verbose <dependency_name><constraint>")
end

# sig { params(constraint: String).void }
def run_upgrade_and_fetch_version(constraint)
run_upgrade(constraint)

Expand All @@ -51,7 +50,6 @@ def run(command, fingerprint: nil)
attr_reader :lockfile
attr_reader :language_version_manager

# sig { params(updated_lockfile: Array).void }
def fetch_version_from_parsed_lockfile(updated_lockfile)
deps = updated_lockfile[lockfile_section] || {}

Expand Down

0 comments on commit 0032c61

Please sign in to comment.