Class: Dependabot::Python::MetadataFinder

Inherits:
MetadataFinders::Base
  • Object
show all
Defined in:
lib/dependabot/python/metadata_finder.rb

Constant Summary collapse

MAIN_PYPI_URL =
"https://pypi.org/pypi"

Instance Method Summary collapse

Instance Method Details

#homepage_urlObject


15
16
17
18
19
20
# File 'lib/dependabot/python/metadata_finder.rb', line 15

def homepage_url
  pypi_listing.dig("info", "home_page") ||
    pypi_listing.dig("info", "project_urls", "Homepage") ||
    pypi_listing.dig("info", "project_urls", "homepage") ||
    super
end