Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/actionlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ jobs:
path: results.sarif

- name: Upload SARIF file
uses: github/codeql-action/upload-sarif@0499de31b99561a6d14a36a5f662c2a54f91beee # v4.31.2
uses: github/codeql-action/upload-sarif@014f16e7ab1402f30e7c3329d33797e7948572db # v4.31.3
with:
sarif_file: results.sarif
category: zizmor
4 changes: 2 additions & 2 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ jobs:
persist-credentials: false

- name: Initialize CodeQL
uses: github/codeql-action/init@0499de31b99561a6d14a36a5f662c2a54f91beee # v4.31.2
uses: github/codeql-action/init@014f16e7ab1402f30e7c3329d33797e7948572db # v4.31.3
with:
languages: ruby
config: |
paths-ignore:
- Library/Homebrew/vendor

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@0499de31b99561a6d14a36a5f662c2a54f91beee # v4.31.2
uses: github/codeql-action/analyze@014f16e7ab1402f30e7c3329d33797e7948572db # v4.31.3
30 changes: 15 additions & 15 deletions Library/Homebrew/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ GEM
bindata (~> 2)
erubi (1.13.1)
hana (1.3.7)
json (2.15.2)
json (2.16.0)
json_schemer (2.4.0)
bigdecimal
hana (~> 1.3)
Expand All @@ -29,7 +29,7 @@ GEM
lint_roller (1.1.0)
logger (1.7.0)
method_source (1.1.0)
minitest (5.26.0)
minitest (5.26.1)
netrc (0.11.0)
parallel (1.27.0)
parallel_tests (5.5.0)
Expand Down Expand Up @@ -91,7 +91,7 @@ GEM
rubocop-ast (>= 1.47.1, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 4.0)
rubocop-ast (1.47.1)
rubocop-ast (1.48.0)
parser (>= 3.3.7.2)
prism (~> 1.4)
rubocop-md (2.0.3)
Expand All @@ -101,13 +101,13 @@ GEM
lint_roller (~> 1.1)
rubocop (>= 1.75.0, < 2.0)
rubocop-ast (>= 1.47.1, < 2.0)
rubocop-rspec (3.7.0)
rubocop-rspec (3.8.0)
lint_roller (~> 1.1)
rubocop (~> 1.72, >= 1.72.1)
rubocop (~> 1.81)
rubocop-sorbet (0.11.0)
lint_roller
rubocop (>= 1.75.2)
ruby-lsp (0.26.2)
ruby-lsp (0.26.3)
language_server-protocol (~> 3.17.0)
prism (>= 1.2, < 2.0)
rbs (>= 3, < 5)
Expand All @@ -125,15 +125,15 @@ GEM
simplecov-html (0.13.2)
simplecov_json_formatter (0.1.4)
simpleidn (0.2.3)
sorbet (0.6.12722)
sorbet-static (= 0.6.12722)
sorbet-runtime (0.6.12722)
sorbet-static (0.6.12722-aarch64-linux)
sorbet-static (0.6.12722-universal-darwin)
sorbet-static (0.6.12722-x86_64-linux)
sorbet-static-and-runtime (0.6.12722)
sorbet (= 0.6.12722)
sorbet-runtime (= 0.6.12722)
sorbet (0.6.12765)
sorbet-static (= 0.6.12765)
sorbet-runtime (0.6.12765)
sorbet-static (0.6.12765-aarch64-linux)
sorbet-static (0.6.12765-universal-darwin)
sorbet-static (0.6.12765-x86_64-linux)
sorbet-static-and-runtime (0.6.12765)
sorbet (= 0.6.12765)
sorbet-runtime (= 0.6.12765)
spoom (1.7.9)
erubi (>= 1.10.0)
prism (>= 0.28.0)
Expand Down
6 changes: 3 additions & 3 deletions Library/Homebrew/formula-analytics/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
#
# pip-compile --allow-unsafe --generate-hashes --strip-extras requirements.in
#
certifi==2025.10.5 \
--hash=sha256:0f212c2744a9bb6de0c56639a6f68afe01ecd92d91f14ae897c4fe7bbeeef0de \
--hash=sha256:47c09d31ccf2acf0be3f701ea53595ee7e0b8fa08801c6624be771df09ae7b43
certifi==2025.11.12 \
--hash=sha256:97de8790030bbd5c2d96b7ec782fc2f7820ef8dba6db909ccf95449f2d062d4b \
--hash=sha256:d8ab5478f2ecd78af242878415affce761ca6bc54a22a27e026d7c25357c3316
# via influxdb3-python
influxdb3-python==0.16.0 \
--hash=sha256:2f6d8caf671b25e0a19aeba5ed13eca6adc5bf141ef615b7e3d0f9f419a7711d \
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Library/Homebrew/sorbet/tapioca/compilers/cask/config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
module Tapioca
module Compilers
class CaskConfig < Tapioca::Dsl::Compiler
ConstantType = type_member { { fixed: Module } }
ConstantType = type_member { { fixed: T::Module[T.anything] } }

sig { override.returns(T::Enumerable[Module]) }
sig { override.returns(T::Enumerable[T::Module[T.anything]]) }
def self.gather_constants = [Cask::Config]

sig { override.void }
Expand Down
4 changes: 2 additions & 2 deletions Library/Homebrew/sorbet/tapioca/compilers/env_config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
module Tapioca
module Compilers
class EnvConfig < Tapioca::Dsl::Compiler
ConstantType = type_member { { fixed: Module } }
ConstantType = type_member { { fixed: T::Module[T.anything] } }

sig { override.returns(T::Enumerable[Module]) }
sig { override.returns(T::Enumerable[T::Module[T.anything]]) }
def self.gather_constants = [Homebrew::EnvConfig]

sig { override.void }
Expand Down
4 changes: 2 additions & 2 deletions Library/Homebrew/sorbet/tapioca/compilers/forwardables.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ class Forwardables < Tapioca::Dsl::Compiler
},
}.freeze, T::Hash[String, T::Hash[String, String]])

ConstantType = type_member { { fixed: Module } }
ConstantType = type_member { { fixed: T::Module[T.anything] } }

sig { override.returns(T::Enumerable[Module]) }
sig { override.returns(T::Enumerable[T::Module[T.anything]]) }
def self.gather_constants
Homebrew::Tapioca::Utils.named_objects_with_module(Forwardable).reject do |obj|
# Avoid duplicate stubs for forwardables that are defined in vendored gems
Expand Down
4 changes: 2 additions & 2 deletions Library/Homebrew/sorbet/tapioca/compilers/rubocop.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ module Compilers
class RuboCop < Tapioca::Dsl::Compiler
# This should be a module whose singleton class contains RuboCop::AST::NodePattern::Macros,
# but I don't know how to express that in Sorbet.
ConstantType = type_member { { fixed: Module } }
sig { override.returns(T::Enumerable[Module]) }
ConstantType = type_member { { fixed: T::Module[T.anything] } }
sig { override.returns(T::Enumerable[T::Module[T.anything]]) }
def self.gather_constants
all_modules.select do |klass|
next unless klass.singleton_class < ::RuboCop::AST::NodePattern::Macros
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
module Tapioca
module Compilers
class Stanza < Tapioca::Dsl::Compiler
ConstantType = type_member { { fixed: Module } }
ConstantType = type_member { { fixed: T::Module[T.anything] } }

sig { override.returns(T::Enumerable[Module]) }
sig { override.returns(T::Enumerable[T::Module[T.anything]]) }
def self.gather_constants = [::RuboCop::Cask::AST::Stanza]

sig { override.void }
Expand Down
4 changes: 2 additions & 2 deletions Library/Homebrew/sorbet/tapioca/compilers/tty.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
module Tapioca
module Compilers
class Tty < Tapioca::Dsl::Compiler
ConstantType = type_member { { fixed: Module } }
ConstantType = type_member { { fixed: T::Module[T.anything] } }

sig { override.returns(T::Enumerable[Module]) }
sig { override.returns(T::Enumerable[T::Module[T.anything]]) }
def self.gather_constants = [::Tty]

sig { override.void }
Expand Down
6 changes: 3 additions & 3 deletions Library/Homebrew/sorbet/tapioca/utils.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
module Homebrew
module Tapioca
module Utils
sig { params(klass: T::Class[T.anything]).returns(Module) }
sig { params(klass: T::Class[T.anything]).returns(T::Module[T.anything]) }
def self.named_object_for(klass)
return klass if klass.name

Expand All @@ -18,7 +18,7 @@ def self.named_object_for(klass)
# @param class_methods [Boolean] whether to get class methods or instance methods
# @return the `module` methods that are defined in the given file
sig {
params(mod: Module, file_name: String,
params(mod: T::Module[T.anything], file_name: String,
class_methods: T::Boolean).returns(T::Array[T.any(Method, UnboundMethod)])
}
def self.methods_from_file(mod, file_name, class_methods: false)
Expand All @@ -30,7 +30,7 @@ def self.methods_from_file(mod, file_name, class_methods: false)
methods.select { _1.source_location&.first&.end_with?(file_name) }
end

sig { params(mod: Module).returns(T::Array[Module]) }
sig { params(mod: T::Module[T.anything]).returns(T::Array[T::Module[T.anything]]) }
def self.named_objects_with_module(mod)
ObjectSpace.each_object(mod).map do |obj|
case obj
Expand Down
Loading
Loading