code: def dependency_lines(self):
      
      deps = sorted(self._dependencies_by_address.values(), key=lambda d: d.spec)
      def dep_lines():
        yield '  dependencies = ['
        for dep in deps:
          for line in dep.lines():
            yield line
        yield '  ],'
      return list(dep_lines()) if deps else []
docs: The formatted dependencies=[...] lines for this target.
  
      If there are no dependencies, this returns an empty list.