From dde6703237c9248e1b388ac1ecdb802105a80815 Mon Sep 17 00:00:00 2001 From: Ruoyu Zhong Date: Thu, 21 Aug 2025 01:00:31 +0800 Subject: [PATCH] services/formulae: `typed strict` Co-authored-by: Bo Anderson --- Library/Homebrew/services/formulae.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Library/Homebrew/services/formulae.rb b/Library/Homebrew/services/formulae.rb index 528a23a9a1..ec6b08b300 100644 --- a/Library/Homebrew/services/formulae.rb +++ b/Library/Homebrew/services/formulae.rb @@ -1,4 +1,4 @@ -# typed: true # rubocop:todo Sorbet/StrictSigil +# typed: strict # frozen_string_literal: true require "services/formula_wrapper" @@ -24,6 +24,7 @@ module Homebrew end # List all available services with status, user, and path to the file. + sig { returns(T::Array[T::Hash[Symbol, T.anything]]) } def self.services_list available_services.map(&:to_hash) end