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



18
19
20
21
22
23
# File 'lib/dependabot/python/metadata_finder.rb', line 18

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