diff --git a/python/lib/dependabot/python/file_updater/pyproject_preparer.rb b/python/lib/dependabot/python/file_updater/pyproject_preparer.rb index 5b52ad6236..a3f0a09afc 100644 --- a/python/lib/dependabot/python/file_updater/pyproject_preparer.rb +++ b/python/lib/dependabot/python/file_updater/pyproject_preparer.rb @@ -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"] } diff --git a/python/lib/dependabot/python/pipenv_runner.rb b/python/lib/dependabot/python/pipenv_runner.rb index a7031faa0c..83502aa812 100644 --- a/python/lib/dependabot/python/pipenv_runner.rb +++ b/python/lib/dependabot/python/pipenv_runner.rb @@ -26,7 +26,6 @@ def run_upgrade(constraint) run(command, fingerprint: "pyenv exec pipenv upgrade --verbose ") end - # sig { params(constraint: String).void } def run_upgrade_and_fetch_version(constraint) run_upgrade(constraint) @@ -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] || {}