repo
stringlengths
5
92
file_url
stringlengths
80
287
file_path
stringlengths
5
197
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 15:37:27
2026-01-04 17:58:21
truncated
bool
2 classes
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/hex/lib/dependabot/hex/file_fetcher.rb
hex/lib/dependabot/hex/file_fetcher.rb
# typed: strict # frozen_string_literal: true require "sorbet-runtime" require "dependabot/file_fetchers" require "dependabot/file_fetchers/base" require "dependabot/file_filtering" module Dependabot module Hex class FileFetcher < Dependabot::FileFetchers::Base extend T::Sig extend T::Helpers ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/hex/lib/dependabot/hex/language.rb
hex/lib/dependabot/hex/language.rb
# typed: strong # frozen_string_literal: true require "sorbet-runtime" require "dependabot/ecosystem" require "dependabot/hex/version" module Dependabot module Hex LANGUAGE = "elixir" class Language < Dependabot::Ecosystem::VersionManager extend T::Sig sig { params(raw_version: String).void } ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/hex/lib/dependabot/hex/file_updater.rb
hex/lib/dependabot/hex/file_updater.rb
# typed: strong # frozen_string_literal: true require "dependabot/file_updaters" require "dependabot/file_updaters/base" require "dependabot/shared_helpers" require "sorbet-runtime" module Dependabot module Hex class FileUpdater < Dependabot::FileUpdaters::Base extend T::Sig require_relative "file_...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/hex/lib/dependabot/hex/version.rb
hex/lib/dependabot/hex/version.rb
# typed: strict # frozen_string_literal: true require "sorbet-runtime" require "dependabot/version" require "dependabot/utils" # Elixir versions can include build information, which Ruby can't parse. # This class augments Gem::Version with build information. # See https://hexdocs.pm/elixir/Version.html for details. ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/hex/lib/dependabot/hex/requirement.rb
hex/lib/dependabot/hex/requirement.rb
# typed: strict # frozen_string_literal: true require "sorbet-runtime" require "dependabot/requirement" require "dependabot/utils" require "dependabot/hex/version" module Dependabot module Hex class Requirement < Dependabot::Requirement extend T::Sig AND_SEPARATOR = /\s+and\s+/ OR_SEPARATOR ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/hex/lib/dependabot/hex/package_manager.rb
hex/lib/dependabot/hex/package_manager.rb
# typed: strong # frozen_string_literal: true require "sorbet-runtime" require "dependabot/ecosystem" require "dependabot/hex/version" module Dependabot module Hex ECOSYSTEM = "hex" PACKAGE_MANAGER = "hex" SUPPORTED_HEX_VERSIONS = T.let([].freeze, T::Array[Dependabot::Version]) # When a version is ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/hex/lib/dependabot/hex/update_checker.rb
hex/lib/dependabot/hex/update_checker.rb
# typed: strict # frozen_string_literal: true require "excon" require "dependabot/git_commit_checker" require "dependabot/update_checkers" require "dependabot/update_checkers/base" require "dependabot/registry_client" require "json" module Dependabot module Hex class UpdateChecker < Dependabot::UpdateCheckers:...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/hex/lib/dependabot/hex/native_helpers.rb
hex/lib/dependabot/hex/native_helpers.rb
# typed: strong # frozen_string_literal: true require "sorbet-runtime" module Dependabot module Hex module NativeHelpers extend T::Sig sig { returns(String) } def self.hex_helpers_dir helpers_root = ENV.fetch("DEPENDABOT_NATIVE_HELPERS_PATH", nil) return File.join(helpers_root...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/hex/lib/dependabot/hex/metadata_finder.rb
hex/lib/dependabot/hex/metadata_finder.rb
# typed: strict # frozen_string_literal: true require "excon" require "dependabot/metadata_finders" require "dependabot/metadata_finders/base" require "dependabot/registry_client" require "sorbet-runtime" module Dependabot module Hex class MetadataFinder < Dependabot::MetadataFinders::Base extend T::Sig ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/hex/lib/dependabot/hex/credential_helpers.rb
hex/lib/dependabot/hex/credential_helpers.rb
# typed: strict # frozen_string_literal: true require "sorbet-runtime" module Dependabot module Hex module CredentialHelpers extend T::Sig sig { params(credentials: T::Array[Dependabot::Credential]).returns(T::Array[Dependabot::Credential]) } def self.hex_credentials(credentials) orga...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/hex/lib/dependabot/hex/file_parser.rb
hex/lib/dependabot/hex/file_parser.rb
# typed: strict # frozen_string_literal: true require "sorbet-runtime" require "dependabot/dependency" require "dependabot/file_parsers" require "dependabot/file_parsers/base" require "dependabot/hex/file_updater/mixfile_sanitizer" require "dependabot/hex/native_helpers" require "dependabot/hex/language" require "depe...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/hex/lib/dependabot/hex/package/package_details_fetcher.rb
hex/lib/dependabot/hex/package/package_details_fetcher.rb
# typed: strict # frozen_string_literal: true require "json" require "time" require "cgi" require "excon" require "nokogiri" require "sorbet-runtime" require "dependabot/registry_client" require "dependabot/hex" require "dependabot/hex/version" require "dependabot/package/package_release" require "dependabot/package/p...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/hex/lib/dependabot/hex/update_checker/latest_version_finder.rb
hex/lib/dependabot/hex/update_checker/latest_version_finder.rb
# typed: strict # frozen_string_literal: true require "excon" require "json" require "sorbet-runtime" require "dependabot/errors" require "dependabot/package/package_latest_version_finder" require "dependabot/shared_helpers" require "dependabot/update_checkers/version_filters" require "dependabot/hex/file_parser" req...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/hex/lib/dependabot/hex/update_checker/file_preparer.rb
hex/lib/dependabot/hex/update_checker/file_preparer.rb
# typed: strict # frozen_string_literal: true require "sorbet-runtime" require "dependabot/dependency_file" require "dependabot/hex/update_checker" require "dependabot/hex/file_updater/mixfile_requirement_updater" require "dependabot/hex/file_updater/mixfile_git_pin_updater" require "dependabot/hex/file_updater/mixfi...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/hex/lib/dependabot/hex/update_checker/version_resolver.rb
hex/lib/dependabot/hex/update_checker/version_resolver.rb
# typed: strict # frozen_string_literal: true require "sorbet-runtime" require "dependabot/hex/version" require "dependabot/hex/update_checker" require "dependabot/hex/credential_helpers" require "dependabot/hex/native_helpers" require "dependabot/hex/file_updater/mixfile_sanitizer" require "dependabot/shared_helpers...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/hex/lib/dependabot/hex/update_checker/requirements_updater.rb
hex/lib/dependabot/hex/update_checker/requirements_updater.rb
# typed: strict # frozen_string_literal: true require "sorbet-runtime" require "dependabot/hex/version" require "dependabot/hex/requirement" require "dependabot/hex/update_checker" module Dependabot module Hex class UpdateChecker class RequirementsUpdater extend T::Sig OPERATORS = />=|<=...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/hex/lib/dependabot/hex/file_updater/lockfile_updater.rb
hex/lib/dependabot/hex/file_updater/lockfile_updater.rb
# typed: strict # frozen_string_literal: true require "sorbet-runtime" require "dependabot/hex/file_updater" require "dependabot/hex/file_updater/mixfile_updater" require "dependabot/hex/file_updater/mixfile_sanitizer" require "dependabot/hex/file_updater/mixfile_requirement_updater" require "dependabot/hex/credentia...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/hex/lib/dependabot/hex/file_updater/mixfile_updater.rb
hex/lib/dependabot/hex/file_updater/mixfile_updater.rb
# typed: strict # frozen_string_literal: true require "sorbet-runtime" require "dependabot/hex/file_updater" require "dependabot/hex/file_updater/mixfile_requirement_updater" require "dependabot/hex/file_updater/mixfile_git_pin_updater" module Dependabot module Hex class FileUpdater class MixfileUpdater ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/hex/lib/dependabot/hex/file_updater/mixfile_sanitizer.rb
hex/lib/dependabot/hex/file_updater/mixfile_sanitizer.rb
# typed: strict # frozen_string_literal: true require "dependabot/hex/file_updater" require "dependabot/shared_helpers" require "sorbet-runtime" module Dependabot module Hex class FileUpdater class MixfileSanitizer extend T::Sig sig { params(mixfile_content: String).void } def ini...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/hex/lib/dependabot/hex/file_updater/mixfile_git_pin_updater.rb
hex/lib/dependabot/hex/file_updater/mixfile_git_pin_updater.rb
# typed: strong # frozen_string_literal: true require "dependabot/hex/file_updater" require "dependabot/shared_helpers" require "sorbet-runtime" module Dependabot module Hex class FileUpdater class MixfileGitPinUpdater extend T::Sig sig { params(dependency_name: String, mixfile_content: S...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/hex/lib/dependabot/hex/file_updater/mixfile_requirement_updater.rb
hex/lib/dependabot/hex/file_updater/mixfile_requirement_updater.rb
# typed: strict # frozen_string_literal: true require "sorbet-runtime" require "dependabot/hex/file_updater" require "dependabot/shared_helpers" module Dependabot module Hex class FileUpdater class MixfileRequirementUpdater extend T::Sig sig do params( dependency_na...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/python/spec/spec_helper.rb
python/spec/spec_helper.rb
# typed: true # frozen_string_literal: true def common_dir @common_dir ||= Gem::Specification.find_by_name("dependabot-common").gem_dir end def require_common_spec(path) require "#{common_dir}/spec/dependabot/#{path}" end require "#{common_dir}/spec/spec_helper.rb" module SlowTestHelper def self.slow_tests? ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/python/spec/dependabot/python_spec.rb
python/spec/dependabot/python_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/python" require_common_spec "shared_examples_for_autoloading" RSpec.describe Dependabot::Python do it_behaves_like "it registers the required classes", "pip" end
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/python/spec/dependabot/python/requirement_spec.rb
python/spec/dependabot/python/requirement_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/python/requirement" require "dependabot/python/version" RSpec.describe Dependabot::Python::Requirement do subject(:requirement) { described_class.new(requirement_string) } let(:requirement_string) { ">=1.0.0" } let(:version_...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/python/spec/dependabot/python/version_spec.rb
python/spec/dependabot/python/version_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/python/version" RSpec.describe Dependabot::Python::Version do subject(:version) { described_class.new(version_string) } let(:version_string) { "1.0.0" } describe ".correct?" do subject { described_class.correct?(version...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/python/spec/dependabot/python/pipenv_package_manager_spec.rb
python/spec/dependabot/python/pipenv_package_manager_spec.rb
# typed: false # frozen_string_literal: true require "dependabot/python/package_manager" require "dependabot/ecosystem" require "spec_helper" RSpec.describe Dependabot::Python::PipenvPackageManager do let(:package_manager) { described_class.new("1.8.3") } describe "#initialize" do context "when version is a ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/python/spec/dependabot/python/metadata_finder_spec.rb
python/spec/dependabot/python/metadata_finder_spec.rb
# typed: false # frozen_string_literal: true require "octokit" require "spec_helper" require "dependabot/dependency" require "dependabot/python/metadata_finder" require_common_spec "metadata_finders/shared_examples_for_metadata_finders" RSpec.describe Dependabot::Python::MetadataFinder do subject(:finder) do de...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/python/spec/dependabot/python/requirement_parser_spec.rb
python/spec/dependabot/python/requirement_parser_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/python/requirement_parser" RSpec.describe Dependabot::Python::RequirementParser do def parse(line) requirement = line.chomp.match(described_class::INSTALL_REQ_WITH_REQUIREMENT) return if requirement.nil? requir...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/python/spec/dependabot/python/file_updater_spec.rb
python/spec/dependabot/python/file_updater_spec.rb
# typed: false # frozen_string_literal: true require "ostruct" require "spec_helper" require "dependabot/dependency" require "dependabot/dependency_file" require "dependabot/python/file_updater" require "dependabot/shared_helpers" require_common_spec "file_updaters/shared_examples_for_file_updaters" RSpec.describe D...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/python/spec/dependabot/python/update_checker_spec.rb
python/spec/dependabot/python/update_checker_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/dependency_file" require "dependabot/dependency" require "dependabot/python/update_checker" require "dependabot/requirements_update_strategy" require_common_spec "update_checkers/shared_examples_for_update_checkers" RSpec.describe...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/python/spec/dependabot/python/poetry_package_manager_spec.rb
python/spec/dependabot/python/poetry_package_manager_spec.rb
# typed: false # frozen_string_literal: true require "dependabot/python/package_manager" require "dependabot/ecosystem" require "spec_helper" RSpec.describe Dependabot::Python::PoetryPackageManager do let(:package_manager) { described_class.new("1.8.3") } describe "#initialize" do context "when version is a ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/python/spec/dependabot/python/file_fetcher_spec.rb
python/spec/dependabot/python/file_fetcher_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/python/file_fetcher" require_common_spec "file_fetchers/shared_examples_for_file_fetchers" RSpec.describe Dependabot::Python::FileFetcher do it_behaves_like "a dependency file fetcher" describe ".required_files_in?" do sub...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
true
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/python/spec/dependabot/python/file_parser_spec.rb
python/spec/dependabot/python/file_parser_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/dependency_file" require "dependabot/source" require "dependabot/python/file_parser" require_common_spec "file_parsers/shared_examples_for_file_parsers" RSpec.describe Dependabot::Python::FileParser do let(:requirements_fixture_n...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
true
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/python/spec/dependabot/python/authed_url_builder_spec.rb
python/spec/dependabot/python/authed_url_builder_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/credential" require "dependabot/python/authed_url_builder" RSpec.describe Dependabot::Python::AuthedUrlBuilder do describe ".authed_url" do subject(:authed_url) { described_class.authed_url(credential: credential) } cont...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/python/spec/dependabot/python/pip_compile_package_manager_spec.rb
python/spec/dependabot/python/pip_compile_package_manager_spec.rb
# typed: false # frozen_string_literal: true require "dependabot/python/package_manager" require "dependabot/ecosystem" require "spec_helper" RSpec.describe Dependabot::Python::PipCompilePackageManager do let(:package_manager) { described_class.new("2024.0.1") } describe "#initialize" do context "when versio...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/python/spec/dependabot/python/language_spec.rb
python/spec/dependabot/python/language_spec.rb
# typed: false # frozen_string_literal: true require "dependabot/python/language" require "dependabot/ecosystem" require_relative "../../spec_helper" RSpec.describe Dependabot::Python::Language do let(:language) do described_class.new( detected_version: detected_version, raw_version: raw_version ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/python/spec/dependabot/python/pip_package_manager_spec.rb
python/spec/dependabot/python/pip_package_manager_spec.rb
# typed: false # frozen_string_literal: true require "dependabot/python/package_manager" require "dependabot/ecosystem" require "spec_helper" RSpec.describe Dependabot::Python::PipPackageManager do let(:package_manager) { described_class.new("24.0") } describe "#initialize" do context "when version is a Stri...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/python/spec/dependabot/python/file_parser/python_requirement_parser_spec.rb
python/spec/dependabot/python/file_parser/python_requirement_parser_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/dependency_file" require "dependabot/python/file_parser/python_requirement_parser" RSpec.describe Dependabot::Python::FileParser::PythonRequirementParser do let(:parser) { described_class.new(dependency_files: files) } describ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/python/spec/dependabot/python/file_parser/pipfile_files_parser_spec.rb
python/spec/dependabot/python/file_parser/pipfile_files_parser_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/dependency_file" require "dependabot/python/file_parser/pipfile_files_parser" RSpec.describe Dependabot::Python::FileParser::PipfileFilesParser do let(:parser) { described_class.new(dependency_files: files) } let(:files) { [pip...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/python/spec/dependabot/python/file_parser/setup_file_parser_spec.rb
python/spec/dependabot/python/file_parser/setup_file_parser_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/dependency_file" require "dependabot/python/file_parser/setup_file_parser" RSpec.describe Dependabot::Python::FileParser::SetupFileParser do let(:parser) { described_class.new(dependency_files: files) } describe "for setup.py"...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/python/spec/dependabot/python/file_parser/pyproject_files_parser_spec.rb
python/spec/dependabot/python/file_parser/pyproject_files_parser_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/dependency_file" require "dependabot/python" RSpec.describe Dependabot::Python::FileParser::PyprojectFilesParser do let(:parser) { described_class.new(dependency_files: files) } let(:files) { [pyproject] } let(:pyproject) do...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/python/spec/dependabot/python/package/package_registry_finder_spec.rb
python/spec/dependabot/python/package/package_registry_finder_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/credential" require "dependabot/dependency_file" require "dependabot/python/package/package_registry_finder" RSpec.describe Dependabot::Python::Package::PackageRegistryFinder do let(:finder) do described_class.new( depe...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/python/spec/dependabot/python/package/package_details_fetcher_spec.rb
python/spec/dependabot/python/package/package_details_fetcher_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/credential" require "dependabot/dependency_file" require "dependabot/python/package/package_details_fetcher" RSpec.describe Dependabot::Python::Package::PackageDetailsFetcher do subject(:fetcher) do described_class.new( ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/python/spec/dependabot/python/update_checker/pip_compile_version_resolver_spec.rb
python/spec/dependabot/python/update_checker/pip_compile_version_resolver_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/dependency" require "dependabot/dependency_file" require "dependabot/python/update_checker/pip_compile_version_resolver" namespace = Dependabot::Python::UpdateChecker RSpec.describe namespace::PipCompileVersionResolver do let(:re...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/python/spec/dependabot/python/update_checker/requirements_updater_spec.rb
python/spec/dependabot/python/update_checker/requirements_updater_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/python/update_checker/requirements_updater" require "dependabot/requirements_update_strategy" RSpec.describe Dependabot::Python::UpdateChecker::RequirementsUpdater do let(:updater) do described_class.new( requirements:...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/python/spec/dependabot/python/update_checker/latest_version_finder_spec.rb
python/spec/dependabot/python/update_checker/latest_version_finder_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/credential" require "dependabot/dependency" require "dependabot/dependency_file" require "dependabot/python/update_checker/latest_version_finder" RSpec.describe Dependabot::Python::UpdateChecker::LatestVersionFinder do before do ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/python/spec/dependabot/python/update_checker/poetry_version_resolver_spec.rb
python/spec/dependabot/python/update_checker/poetry_version_resolver_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/dependency" require "dependabot/dependency_file" require "dependabot/python/update_checker/poetry_version_resolver" namespace = Dependabot::Python::UpdateChecker RSpec.describe namespace::PoetryVersionResolver do let(:resolver) d...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/python/spec/dependabot/python/update_checker/pipenv_version_resolver_spec.rb
python/spec/dependabot/python/update_checker/pipenv_version_resolver_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/dependency" require "dependabot/dependency_file" require "dependabot/python/update_checker/pipenv_version_resolver" RSpec.describe Dependabot::Python::UpdateChecker::PipenvVersionResolver do let(:resolver) do described_class....
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/python/spec/dependabot/python/update_checker/pip_version_resolver_spec.rb
python/spec/dependabot/python/update_checker/pip_version_resolver_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/dependency" require "dependabot/dependency_file" require "dependabot/python/update_checker/pip_version_resolver" RSpec.describe Dependabot::Python::UpdateChecker::PipVersionResolver do before do stub_request(:get, pypi_url).t...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/python/spec/dependabot/python/file_updater/pipfile_file_updater_spec.rb
python/spec/dependabot/python/file_updater/pipfile_file_updater_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/dependency" require "dependabot/dependency_file" require "dependabot/python/file_updater/pipfile_file_updater" require "dependabot/shared_helpers" RSpec.describe Dependabot::Python::FileUpdater::PipfileFileUpdater do let(:updater...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
true
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/python/spec/dependabot/python/file_updater/pipfile_manifest_updater_spec.rb
python/spec/dependabot/python/file_updater/pipfile_manifest_updater_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/dependency" require "dependabot/dependency_file" require "dependabot/python/file_updater/pipfile_manifest_updater" require "dependabot/shared_helpers" RSpec.describe Dependabot::Python::FileUpdater::PipfileManifestUpdater do let(...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/python/spec/dependabot/python/file_updater/pyproject_preparer_spec.rb
python/spec/dependabot/python/file_updater/pyproject_preparer_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/dependency" require "dependabot/dependency_file" require "dependabot/python/file_updater/pyproject_preparer" RSpec.describe Dependabot::Python::FileUpdater::PyprojectPreparer do let(:preparer) do described_class.new( py...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/python/spec/dependabot/python/file_updater/pipfile_preparer_spec.rb
python/spec/dependabot/python/file_updater/pipfile_preparer_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/dependency" require "dependabot/dependency_file" require "dependabot/python/file_updater/pipfile_preparer" RSpec.describe Dependabot::Python::FileUpdater::PipfilePreparer do let(:preparer) do described_class.new(pipfile_conte...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/python/spec/dependabot/python/file_updater/requirement_replacer_spec.rb
python/spec/dependabot/python/file_updater/requirement_replacer_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/python/file_updater/requirement_replacer" RSpec.describe Dependabot::Python::FileUpdater::RequirementReplacer do let(:replacer) do described_class.new( content: requirement_content, dependency_name: dependency_nam...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/python/spec/dependabot/python/file_updater/requirement_file_updater_spec.rb
python/spec/dependabot/python/file_updater/requirement_file_updater_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/dependency" require "dependabot/dependency_file" require "dependabot/python/file_updater/pipfile_file_updater" require "dependabot/shared_helpers" RSpec.describe Dependabot::Python::FileUpdater::RequirementFileUpdater do let(:upd...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/python/spec/dependabot/python/file_updater/poetry_file_updater_spec.rb
python/spec/dependabot/python/file_updater/poetry_file_updater_spec.rb
# typed: false # frozen_string_literal: true require "toml-rb" require "spec_helper" require "dependabot/dependency" require "dependabot/dependency_file" require "dependabot/python/file_updater/poetry_file_updater" require "dependabot/shared_helpers" RSpec.describe Dependabot::Python::FileUpdater::PoetryFileUpdater ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/python/spec/dependabot/python/file_updater/pip_compile_file_updater_spec.rb
python/spec/dependabot/python/file_updater/pip_compile_file_updater_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/dependency" require "dependabot/dependency_file" require "dependabot/python/file_updater/pip_compile_file_updater" require "dependabot/shared_helpers" RSpec.describe Dependabot::Python::FileUpdater::PipCompileFileUpdater do let(:...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/python/spec/dependabot/python/file_updater/setup_file_sanitizer_spec.rb
python/spec/dependabot/python/file_updater/setup_file_sanitizer_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/dependency_file" require "dependabot/python/file_updater/setup_file_sanitizer" RSpec.describe Dependabot::Python::FileUpdater::SetupFileSanitizer do let(:sanitizer) do described_class.new(setup_file: setup_file, setup_cfg: se...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/python/lib/dependabot/python.rb
python/lib/dependabot/python.rb
# typed: strict # frozen_string_literal: true # These all need to be required so the various classes can be registered in a # lookup table of package manager names to concrete classes. require "dependabot/python/file_fetcher" require "dependabot/python/file_parser" require "dependabot/python/update_checker" require "d...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/python/lib/dependabot/python/file_fetcher.rb
python/lib/dependabot/python/file_fetcher.rb
# typed: strict # frozen_string_literal: true require "toml-rb" require "sorbet-runtime" require "dependabot/file_fetchers" require "dependabot/file_fetchers/base" require "dependabot/python/language_version_manager" require "dependabot/python/pip_compile_file_matcher" require "dependabot/python/requirement_parser" r...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/python/lib/dependabot/python/language.rb
python/lib/dependabot/python/language.rb
# typed: strong # frozen_string_literal: true require "sorbet-runtime" require "dependabot/python/version" require "dependabot/ecosystem" module Dependabot module Python LANGUAGE = "python" class Language < Dependabot::Ecosystem::VersionManager extend T::Sig # This list must match the versions...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/python/lib/dependabot/python/pipenv_runner.rb
python/lib/dependabot/python/pipenv_runner.rb
# typed: strict # frozen_string_literal: true require "dependabot/shared_helpers" require "dependabot/python/file_parser" require "json" require "sorbet-runtime" module Dependabot module Python class PipenvRunner extend T::Sig sig do params( dependency: Dependabot::Dependency, ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/python/lib/dependabot/python/file_updater.rb
python/lib/dependabot/python/file_updater.rb
# typed: strict # frozen_string_literal: true require "toml-rb" require "dependabot/file_updaters" require "dependabot/file_updaters/base" require "dependabot/shared_helpers" require "sorbet-runtime" module Dependabot module Python class FileUpdater < Dependabot::FileUpdaters::Base extend T::Sig re...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/python/lib/dependabot/python/version.rb
python/lib/dependabot/python/version.rb
# typed: strict # frozen_string_literal: true require "sorbet-runtime" require "dependabot/version" require "dependabot/utils" # See https://packaging.python.org/en/latest/specifications/version-specifiers for spec details. module Dependabot module Python class Version < Dependabot::Version extend T::Sig...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/python/lib/dependabot/python/requirement.rb
python/lib/dependabot/python/requirement.rb
# typed: strict # frozen_string_literal: true require "sorbet-runtime" require "dependabot/requirement" require "dependabot/utils" require "dependabot/python/version" module Dependabot module Python class Requirement < Dependabot::Requirement extend T::Sig OR_SEPARATOR = T.let(/(?<=[a-zA-Z0-9)*])\...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/python/lib/dependabot/python/authed_url_builder.rb
python/lib/dependabot/python/authed_url_builder.rb
# typed: strong # frozen_string_literal: true require "sorbet-runtime" module Dependabot module Python class AuthedUrlBuilder extend T::Sig sig { params(credential: Credential).returns(String) } def self.authed_url(credential:) token = T.let(credential.fetch("token", nil), T.nilable(S...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/python/lib/dependabot/python/language_version_manager.rb
python/lib/dependabot/python/language_version_manager.rb
# typed: strict # frozen_string_literal: true require "dependabot/logger" require "dependabot/python/version" require "sorbet-runtime" module Dependabot module Python class LanguageVersionManager extend T::Sig sig { params(python_requirement_parser: T.untyped).void } def initialize(python_req...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/python/lib/dependabot/python/pip_compile_file_matcher.rb
python/lib/dependabot/python/pip_compile_file_matcher.rb
# typed: strict # frozen_string_literal: true module Dependabot module Python class PipCompileFileMatcher extend T::Sig sig { params(requirements_in_files: T::Array[DependencyFile]).void } def initialize(requirements_in_files) @requirements_in_files = requirements_in_files end ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/python/lib/dependabot/python/package_manager.rb
python/lib/dependabot/python/package_manager.rb
# typed: strong # frozen_string_literal: true require "sorbet-runtime" require "dependabot/python/version" require "dependabot/ecosystem" require "dependabot/python/requirement" module Dependabot module Python ECOSYSTEM = "Python" SUPPORTED_PYTHON_VERSIONS = T.let([].freeze, T::Array[Dependabot::Version]) ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/python/lib/dependabot/python/update_checker.rb
python/lib/dependabot/python/update_checker.rb
# typed: strict # frozen_string_literal: true require "excon" require "toml-rb" require "sorbet-runtime" require "dependabot/dependency" require "dependabot/errors" require "dependabot/python/name_normaliser" require "dependabot/python/requirement_parser" require "dependabot/python/requirement" require "dependabot/re...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/python/lib/dependabot/python/requirement_parser.rb
python/lib/dependabot/python/requirement_parser.rb
# typed: strong # frozen_string_literal: true module Dependabot module Python class RequirementParser NAME = /[a-zA-Z0-9](?:[a-zA-Z0-9\-_\.]*[a-zA-Z0-9])?/ EXTRA = /[a-zA-Z0-9\-_\.]+/ COMPARISON = /===|==|>=|<=|<|>|~=|!=/ VERSION = /([1-9][0-9]*!)?[0-9]+[a-zA-Z0-9\-_.*]*(\+[0-9a-zA-Z]+(\....
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/python/lib/dependabot/python/native_helpers.rb
python/lib/dependabot/python/native_helpers.rb
# typed: strong # frozen_string_literal: true require "sorbet-runtime" module Dependabot module Python module NativeHelpers extend T::Sig sig { returns(String) } def self.python_helper_path clean_path(File.join(python_helpers_dir, "run.py")) end sig { returns(String) } ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/python/lib/dependabot/python/metadata_finder.rb
python/lib/dependabot/python/metadata_finder.rb
# typed: strict # frozen_string_literal: true require "excon" require "uri" require "dependabot/metadata_finders" require "dependabot/metadata_finders/base" require "dependabot/registry_client" require "dependabot/python/authed_url_builder" require "dependabot/python/name_normaliser" module Dependabot module Pytho...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/python/lib/dependabot/python/name_normaliser.rb
python/lib/dependabot/python/name_normaliser.rb
# typed: strong # frozen_string_literal: true require "sorbet-runtime" module Dependabot module Python module NameNormaliser extend T::Sig sig { params(name: String).returns(String) } def self.normalise(name) extras_regex = /\[.+\]/ name.downcase.gsub(/[-_.]+/, "-").gsub(extra...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/python/lib/dependabot/python/file_parser.rb
python/lib/dependabot/python/file_parser.rb
# typed: strict # frozen_string_literal: true require "dependabot/dependency" require "dependabot/file_parsers" require "dependabot/file_parsers/base" require "dependabot/file_parsers/base/dependency_set" require "dependabot/shared_helpers" require "dependabot/python/requirement" require "dependabot/errors" require "d...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/python/lib/dependabot/python/file_parser/python_requirement_parser.rb
python/lib/dependabot/python/file_parser/python_requirement_parser.rb
# typed: strict # frozen_string_literal: true require "toml-rb" require "open3" require "dependabot/errors" require "dependabot/shared_helpers" require "dependabot/python/file_parser" require "dependabot/python/pip_compile_file_matcher" require "dependabot/python/requirement" module Dependabot module Python cla...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/python/lib/dependabot/python/file_parser/setup_file_parser.rb
python/lib/dependabot/python/file_parser/setup_file_parser.rb
# typed: strict # frozen_string_literal: true require "dependabot/dependency" require "dependabot/errors" require "dependabot/file_parsers/base/dependency_set" require "dependabot/shared_helpers" require "dependabot/python/file_parser" require "dependabot/python/native_helpers" require "dependabot/python/name_normalis...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/python/lib/dependabot/python/file_parser/pyproject_files_parser.rb
python/lib/dependabot/python/file_parser/pyproject_files_parser.rb
# typed: strict # frozen_string_literal: true require "toml-rb" require "dependabot/dependency" require "dependabot/file_parsers/base/dependency_set" require "dependabot/python/file_parser" require "dependabot/python/requirement" require "dependabot/errors" require "dependabot/python/name_normaliser" module Dependab...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/python/lib/dependabot/python/file_parser/pipfile_files_parser.rb
python/lib/dependabot/python/file_parser/pipfile_files_parser.rb
# typed: strict # frozen_string_literal: true require "toml-rb" require "dependabot/dependency" require "dependabot/file_parsers/base/dependency_set" require "dependabot/python/file_parser" require "dependabot/errors" require "dependabot/python/name_normaliser" module Dependabot module Python class FileParser ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/python/lib/dependabot/python/package/package_registry_finder.rb
python/lib/dependabot/python/package/package_registry_finder.rb
# typed: strict # frozen_string_literal: true require "sorbet-runtime" require "dependabot/python/update_checker" require "dependabot/python/authed_url_builder" require "dependabot/errors" module Dependabot module Python module Package class PackageRegistryFinder extend T::Sig PYPI_BASE_U...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/python/lib/dependabot/python/package/package_details_fetcher.rb
python/lib/dependabot/python/package/package_details_fetcher.rb
# typed: strict # frozen_string_literal: true require "json" require "time" require "cgi" require "excon" require "nokogiri" require "sorbet-runtime" require "dependabot/registry_client" require "dependabot/python/name_normaliser" require "dependabot/package/package_release" require "dependabot/package/package_details...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/python/lib/dependabot/python/update_checker/latest_version_finder.rb
python/lib/dependabot/python/update_checker/latest_version_finder.rb
# typed: strong # frozen_string_literal: true require "cgi" require "excon" require "nokogiri" require "sorbet-runtime" require "dependabot/dependency" require "dependabot/python/update_checker" require "dependabot/update_checkers/version_filters" require "dependabot/registry_client" require "dependabot/python/authed...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/python/lib/dependabot/python/update_checker/poetry_version_resolver.rb
python/lib/dependabot/python/update_checker/poetry_version_resolver.rb
# typed: strict # frozen_string_literal: true require "sorbet-runtime" require "excon" require "toml-rb" require "open3" require "uri" require "dependabot/dependency" require "dependabot/errors" require "dependabot/shared_helpers" require "dependabot/python/file_parser" require "dependabot/python/file_parser/python_re...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/python/lib/dependabot/python/update_checker/requirements_updater.rb
python/lib/dependabot/python/update_checker/requirements_updater.rb
# typed: strict # frozen_string_literal: true require "sorbet-runtime" require "dependabot/python/requirement_parser" require "dependabot/python/requirement" require "dependabot/python/update_checker" require "dependabot/python/version" require "dependabot/requirements_update_strategy" module Dependabot module Pyth...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/python/lib/dependabot/python/update_checker/pipenv_version_resolver.rb
python/lib/dependabot/python/update_checker/pipenv_version_resolver.rb
# typed: strict # frozen_string_literal: true require "sorbet-runtime" require "excon" require "open3" require "dependabot/dependency" require "dependabot/errors" require "dependabot/shared_helpers" require "dependabot/python/file_parser" require "dependabot/python/file_parser/python_requirement_parser" require "depen...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/python/lib/dependabot/python/update_checker/pip_compile_version_resolver.rb
python/lib/dependabot/python/update_checker/pip_compile_version_resolver.rb
# typed: strict # frozen_string_literal: true require "sorbet-runtime" require "open3" require "dependabot/dependency" require "dependabot/python/requirement_parser" require "dependabot/python/file_fetcher" require "dependabot/python/file_parser" require "dependabot/python/file_parser/python_requirement_parser" requir...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/python/lib/dependabot/python/update_checker/pip_version_resolver.rb
python/lib/dependabot/python/update_checker/pip_version_resolver.rb
# typed: strong # frozen_string_literal: true require "sorbet-runtime" require "dependabot/python/language_version_manager" require "dependabot/python/update_checker" require "dependabot/python/update_checker/latest_version_finder" require "dependabot/python/file_parser/python_requirement_parser" module Dependabot ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/python/lib/dependabot/python/file_updater/pyproject_preparer.rb
python/lib/dependabot/python/file_updater/pyproject_preparer.rb
# typed: strict # frozen_string_literal: true require "toml-rb" require "sorbet-runtime" require "dependabot/dependency" require "dependabot/python/file_parser" require "dependabot/python/file_updater" require "dependabot/python/authed_url_builder" require "dependabot/python/name_normaliser" require "securerandom" mo...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/python/lib/dependabot/python/file_updater/requirement_file_updater.rb
python/lib/dependabot/python/file_updater/requirement_file_updater.rb
# typed: strict # frozen_string_literal: true require "sorbet-runtime" require "dependabot/python/requirement_parser" require "dependabot/python/file_updater" require "dependabot/shared_helpers" require "dependabot/python/native_helpers" module Dependabot module Python class FileUpdater class RequirementF...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/python/lib/dependabot/python/file_updater/pip_compile_file_updater.rb
python/lib/dependabot/python/file_updater/pip_compile_file_updater.rb
# typed: strict # frozen_string_literal: true require "open3" require "dependabot/dependency" require "dependabot/python/requirement_parser" require "dependabot/python/file_fetcher" require "dependabot/python/file_parser/python_requirement_parser" require "dependabot/python/file_updater" require "dependabot/shared_hel...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/python/lib/dependabot/python/file_updater/pipfile_preparer.rb
python/lib/dependabot/python/file_updater/pipfile_preparer.rb
# typed: strict # frozen_string_literal: true require "toml-rb" require "dependabot/dependency" require "dependabot/python/file_parser" require "dependabot/python/file_updater" require "dependabot/python/authed_url_builder" require "sorbet-runtime" module Dependabot module Python class FileUpdater class ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/python/lib/dependabot/python/file_updater/poetry_file_updater.rb
python/lib/dependabot/python/file_updater/poetry_file_updater.rb
# typed: strict # frozen_string_literal: true require "sorbet-runtime" require "toml-rb" require "open3" require "dependabot/dependency" require "dependabot/shared_helpers" require "dependabot/python/language_version_manager" require "dependabot/python/version" require "dependabot/python/requirement" require "dependab...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/python/lib/dependabot/python/file_updater/requirement_replacer.rb
python/lib/dependabot/python/file_updater/requirement_replacer.rb
# typed: strict # frozen_string_literal: true require "sorbet-runtime" require "dependabot/dependency" require "dependabot/python/requirement_parser" require "dependabot/python/file_updater" require "dependabot/shared_helpers" require "dependabot/python/native_helpers" require "dependabot/python/name_normaliser" modu...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/python/lib/dependabot/python/file_updater/pipfile_manifest_updater.rb
python/lib/dependabot/python/file_updater/pipfile_manifest_updater.rb
# typed: strict # frozen_string_literal: true require "dependabot/python/file_updater" module Dependabot module Python class FileUpdater class PipfileManifestUpdater extend T::Sig sig { params(dependencies: T::Array[Dependency], manifest: DependencyFile).void } def initialize(depe...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/python/lib/dependabot/python/file_updater/setup_file_sanitizer.rb
python/lib/dependabot/python/file_updater/setup_file_sanitizer.rb
# typed: strict # frozen_string_literal: true require "sorbet-runtime" require "dependabot/python/file_updater" require "dependabot/python/file_parser/setup_file_parser" module Dependabot module Python class FileUpdater # Take a setup.py, parses it (carefully!) and then create a new, clean # setup.p...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/python/lib/dependabot/python/file_updater/pipfile_file_updater.rb
python/lib/dependabot/python/file_updater/pipfile_file_updater.rb
# typed: strict # frozen_string_literal: true require "open3" require "dependabot/dependency" require "dependabot/python/requirement_parser" require "dependabot/python/file_parser/python_requirement_parser" require "dependabot/python/file_updater" require "dependabot/python/language_version_manager" require "dependabo...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/julia/spec/spec_helper.rb
julia/spec/spec_helper.rb
# typed: false # frozen_string_literal: true require "rspec" require "webmock/rspec" require "vcr" require "dependabot/julia" require_relative "dependabot/shared_examples" def common_dir @common_dir ||= Gem::Specification.find_by_name("dependabot-common").gem_dir end def require_common_spec(path) require "#{com...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/julia/spec/integration/julia_helper_spec.rb
julia/spec/integration/julia_helper_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/julia/registry_client" RSpec.describe Dependabot::Julia::RegistryClient do let(:registry_client) { described_class.new(credentials: []) } describe "real Julia helper calls" do context "with Example package" do let(:p...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/julia/spec/integration/julia_spec.rb
julia/spec/integration/julia_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/julia" RSpec.describe Dependabot::Julia do describe "integration" do it "handles basic dependency updates" do dependency = Dependabot::Dependency.new( name: "Example", version: "0.5.5", previous_...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/julia/spec/dependabot/shared_examples.rb
julia/spec/dependabot/shared_examples.rb
# typed: false # frozen_string_literal: true require "spec_helper" RSpec.shared_examples "a dependabot ecosystem module" do describe ".name" do subject { described_class.name } it { is_expected.to eq("Dependabot::Julia") } end describe ".package_ecosystem" do subject { described_class.package_ecos...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false