Class: Dependabot::Python::FileFetcher
- Inherits:
-
SharedFileFetcher
- Object
- FileFetchers::Base
- SharedFileFetcher
- Dependabot::Python::FileFetcher
- Extended by:
- T::Sig
- Defined in:
- lib/dependabot/python/file_fetcher.rb
Constant Summary collapse
- ECOSYSTEM_SPECIFIC_FILES =
T.let(%w(Pipfile setup.py setup.cfg).freeze, T::Array[String])
Constants inherited from SharedFileFetcher
SharedFileFetcher::CHILD_REQUIREMENT_REGEX, SharedFileFetcher::CONSTRAINT_REGEX, SharedFileFetcher::DEPENDENCY_TYPES, SharedFileFetcher::MAX_FILE_SIZE
Class Method Summary collapse
Methods inherited from SharedFileFetcher
#ecosystem_versions, #fetch_files, required_files_in?
Class Method Details
.ecosystem_specific_required_files ⇒ Object
21 22 23 |
# File 'lib/dependabot/python/file_fetcher.rb', line 21 def self.ecosystem_specific_required_files ECOSYSTEM_SPECIFIC_FILES end |
.required_files_message ⇒ Object
26 27 28 29 |
# File 'lib/dependabot/python/file_fetcher.rb', line 26 def self. "Repo must contain a requirements.txt, setup.py, setup.cfg, pyproject.toml, " \ "or a Pipfile." end |