From fb192ed46d8972980148796a6d54a5dc377b111d Mon Sep 17 00:00:00 2001 From: Douglas Eichelberger Date: Tue, 20 Feb 2024 15:31:25 -0800 Subject: [PATCH] Exclude parlour.rbi from rubocop --- Library/.rubocop.yml | 1 + Library/Homebrew/sorbet/rbi/parlour.rbi | 1 + 2 files changed, 2 insertions(+) diff --git a/Library/.rubocop.yml b/Library/.rubocop.yml index 2107cf2f89..e825c1e09e 100644 --- a/Library/.rubocop.yml +++ b/Library/.rubocop.yml @@ -19,6 +19,7 @@ AllCops: - "Homebrew/**/*.rbi" Exclude: - "Homebrew/sorbet/rbi/{dsl,gems}/**/*.rbi" + - "Homebrew/sorbet/rbi/parlour.rbi" - "Homebrew/bin/*" - "Homebrew/vendor/**/*" - "Taps/*/*/vendor/**/*" diff --git a/Library/Homebrew/sorbet/rbi/parlour.rbi b/Library/Homebrew/sorbet/rbi/parlour.rbi index 92c7d251b0..80fa50d439 100644 --- a/Library/Homebrew/sorbet/rbi/parlour.rbi +++ b/Library/Homebrew/sorbet/rbi/parlour.rbi @@ -1,4 +1,5 @@ # typed: strict + class PATH sig { params(args: T.untyped, options: T.untyped, block: T.untyped).returns(T.untyped) } def each(*args, **options, &block); end