class Dependabot::Uv::FileUpdater::LockFileUpdater
def fetch_updated_dependency_files
def fetch_updated_dependency_files return [] unless create_or_update_lock_file? updated_files = [] if file_changed?(pyproject) updated_files << updated_file( file: T.must(pyproject), content: T.must(updated_pyproject_content) ) end if lockfile # Use updated_lockfile_content which might raise if the lockfile doesn't change new_content = updated_lockfile_content raise "Expected lockfile to change!" if T.must(lockfile).content == new_content updated_files << updated_file(file: T.must(lockfile), content: new_content) end updated_files end