Class: Dependabot::Uv::DependencyGrapher
- Inherits:
-
DependencyGraphers::Base
- Object
- DependencyGraphers::Base
- Dependabot::Uv::DependencyGrapher
- Defined in:
- lib/dependabot/uv/dependency_grapher.rb
Constant Summary collapse
- RUNTIME_GROUP =
T.let("dependencies", String)
- DEV_GROUP =
T.let("dev-dependencies", String)
Instance Method Summary collapse
Instance Method Details
#prepare! ⇒ Object
28 29 30 31 32 |
# File 'lib/dependabot/uv/dependency_grapher.rb', line 28 def prepare! raise DependabotError, "No uv.lock present; uv graphing requires a lockfile." unless uv_lock prepare_from_lockfile! end |
#relevant_dependency_file ⇒ Object
19 20 21 |
# File 'lib/dependabot/uv/dependency_grapher.rb', line 19 def relevant_dependency_file uv_lock || raise(DependabotError, "No uv.lock present; uv graphing requires a lockfile.") end |