diff --git a/Library/.rubocop.yml b/Library/.rubocop.yml index 829dd2dcdc50b..66c08e5248645 100644 --- a/Library/.rubocop.yml +++ b/Library/.rubocop.yml @@ -274,11 +274,11 @@ Sorbet/RedundantExtendTSig: Sorbet/StrictSigil: Enabled: true - inherit_mode: - override: - - Include - Include: - - "**/*.rbi" + Exclude: + - "Taps/**/*" + - "/**/{Formula,Casks}/**/*.rb" + - "**/{Formula,Casks}/**/*.rb" + - "Homebrew/test/**/*.rb" Sorbet/TrueSigil: Enabled: true diff --git a/Library/Homebrew/PATH.rb b/Library/Homebrew/PATH.rb index 4a3fd4c4587b5..af5513d6b4f42 100644 --- a/Library/Homebrew/PATH.rb +++ b/Library/Homebrew/PATH.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "forwardable" diff --git a/Library/Homebrew/api.rb b/Library/Homebrew/api.rb index 4caf17e825afb..e6851fcefc7e6 100644 --- a/Library/Homebrew/api.rb +++ b/Library/Homebrew/api.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "api/analytics" diff --git a/Library/Homebrew/api/analytics.rb b/Library/Homebrew/api/analytics.rb index da1803f888006..ee8d36a933560 100644 --- a/Library/Homebrew/api/analytics.rb +++ b/Library/Homebrew/api/analytics.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true module Homebrew diff --git a/Library/Homebrew/api/cask.rb b/Library/Homebrew/api/cask.rb index 082b2c67fd605..03b94f848a3cb 100644 --- a/Library/Homebrew/api/cask.rb +++ b/Library/Homebrew/api/cask.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "extend/cachable" diff --git a/Library/Homebrew/api/download.rb b/Library/Homebrew/api/download.rb index 28f8068dee75b..cd74c2b33d336 100644 --- a/Library/Homebrew/api/download.rb +++ b/Library/Homebrew/api/download.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "downloadable" diff --git a/Library/Homebrew/api/formula.rb b/Library/Homebrew/api/formula.rb index bb5f89eb57044..0baaa94e9dd06 100644 --- a/Library/Homebrew/api/formula.rb +++ b/Library/Homebrew/api/formula.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "extend/cachable" diff --git a/Library/Homebrew/build.rb b/Library/Homebrew/build.rb index 6e5de2cead2e6..b71d0e55af9e2 100644 --- a/Library/Homebrew/build.rb +++ b/Library/Homebrew/build.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true # This script is loaded by formula_installer as a separate instance. diff --git a/Library/Homebrew/build_environment.rb b/Library/Homebrew/build_environment.rb index d2028f2c62db5..b63cebb006c41 100644 --- a/Library/Homebrew/build_environment.rb +++ b/Library/Homebrew/build_environment.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true # Settings for the build environment. diff --git a/Library/Homebrew/build_options.rb b/Library/Homebrew/build_options.rb index ccc311738679b..1baf70938e723 100644 --- a/Library/Homebrew/build_options.rb +++ b/Library/Homebrew/build_options.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true # Options for a formula build. diff --git a/Library/Homebrew/bundle_version.rb b/Library/Homebrew/bundle_version.rb index 7592277120d04..9ff4b253fc4e7 100644 --- a/Library/Homebrew/bundle_version.rb +++ b/Library/Homebrew/bundle_version.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "system_command" diff --git a/Library/Homebrew/cache_store.rb b/Library/Homebrew/cache_store.rb index 04ea3471cb680..11426ef5eac45 100644 --- a/Library/Homebrew/cache_store.rb +++ b/Library/Homebrew/cache_store.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "json" diff --git a/Library/Homebrew/cask/artifact/abstract_artifact.rb b/Library/Homebrew/cask/artifact/abstract_artifact.rb index e722d0bc0ff92..a424a8080cf15 100644 --- a/Library/Homebrew/cask/artifact/abstract_artifact.rb +++ b/Library/Homebrew/cask/artifact/abstract_artifact.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "attrable" diff --git a/Library/Homebrew/cask/artifact/abstract_flight_block.rb b/Library/Homebrew/cask/artifact/abstract_flight_block.rb index 5c8c4daec7b34..497f1afdf1b70 100644 --- a/Library/Homebrew/cask/artifact/abstract_flight_block.rb +++ b/Library/Homebrew/cask/artifact/abstract_flight_block.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "cask/artifact/abstract_artifact" diff --git a/Library/Homebrew/cask/artifact/abstract_uninstall.rb b/Library/Homebrew/cask/artifact/abstract_uninstall.rb index fcb8cd77bd0b7..1b9bde4b5dfed 100644 --- a/Library/Homebrew/cask/artifact/abstract_uninstall.rb +++ b/Library/Homebrew/cask/artifact/abstract_uninstall.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "timeout" diff --git a/Library/Homebrew/cask/artifact/binary.rb b/Library/Homebrew/cask/artifact/binary.rb index cb349c8f3c9bc..aab9616be4c90 100644 --- a/Library/Homebrew/cask/artifact/binary.rb +++ b/Library/Homebrew/cask/artifact/binary.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "cask/artifact/symlinked" diff --git a/Library/Homebrew/cask/artifact/installer.rb b/Library/Homebrew/cask/artifact/installer.rb index 76b18abb3d386..4b7bda3f8ce4e 100644 --- a/Library/Homebrew/cask/artifact/installer.rb +++ b/Library/Homebrew/cask/artifact/installer.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "cask/artifact/abstract_artifact" diff --git a/Library/Homebrew/cask/artifact/keyboard_layout.rb b/Library/Homebrew/cask/artifact/keyboard_layout.rb index 37160ee3570d9..b1e72ccaaff5c 100644 --- a/Library/Homebrew/cask/artifact/keyboard_layout.rb +++ b/Library/Homebrew/cask/artifact/keyboard_layout.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "cask/artifact/moved" diff --git a/Library/Homebrew/cask/artifact/manpage.rb b/Library/Homebrew/cask/artifact/manpage.rb index de56dee06e95e..170a0904d3b5b 100644 --- a/Library/Homebrew/cask/artifact/manpage.rb +++ b/Library/Homebrew/cask/artifact/manpage.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "cask/artifact/symlinked" diff --git a/Library/Homebrew/cask/artifact/mdimporter.rb b/Library/Homebrew/cask/artifact/mdimporter.rb index 204699acd4acf..f2774fc971c28 100644 --- a/Library/Homebrew/cask/artifact/mdimporter.rb +++ b/Library/Homebrew/cask/artifact/mdimporter.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "cask/artifact/moved" diff --git a/Library/Homebrew/cask/artifact/moved.rb b/Library/Homebrew/cask/artifact/moved.rb index b6fe5c893f975..7a98a9161b272 100644 --- a/Library/Homebrew/cask/artifact/moved.rb +++ b/Library/Homebrew/cask/artifact/moved.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "cask/artifact/relocated" diff --git a/Library/Homebrew/cask/artifact/pkg.rb b/Library/Homebrew/cask/artifact/pkg.rb index 8c6e400086cb7..7c4ce514a60f8 100644 --- a/Library/Homebrew/cask/artifact/pkg.rb +++ b/Library/Homebrew/cask/artifact/pkg.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "plist" diff --git a/Library/Homebrew/cask/artifact/qlplugin.rb b/Library/Homebrew/cask/artifact/qlplugin.rb index ad7643def908a..605303c360054 100644 --- a/Library/Homebrew/cask/artifact/qlplugin.rb +++ b/Library/Homebrew/cask/artifact/qlplugin.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "cask/artifact/moved" diff --git a/Library/Homebrew/cask/artifact/relocated.rb b/Library/Homebrew/cask/artifact/relocated.rb index 4bfaf185aa546..1ff075e8cde34 100644 --- a/Library/Homebrew/cask/artifact/relocated.rb +++ b/Library/Homebrew/cask/artifact/relocated.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "cask/artifact/abstract_artifact" diff --git a/Library/Homebrew/cask/artifact/stage_only.rb b/Library/Homebrew/cask/artifact/stage_only.rb index 1f4b12be9e89e..5a1cb6f9d0e70 100644 --- a/Library/Homebrew/cask/artifact/stage_only.rb +++ b/Library/Homebrew/cask/artifact/stage_only.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "cask/artifact/abstract_artifact" diff --git a/Library/Homebrew/cask/artifact/symlinked.rb b/Library/Homebrew/cask/artifact/symlinked.rb index 1de7e715ddb35..170ecc5367465 100644 --- a/Library/Homebrew/cask/artifact/symlinked.rb +++ b/Library/Homebrew/cask/artifact/symlinked.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "cask/artifact/relocated" diff --git a/Library/Homebrew/cask/artifact/uninstall.rb b/Library/Homebrew/cask/artifact/uninstall.rb index cbb3b9cd78ddf..e136b05b8fbbc 100644 --- a/Library/Homebrew/cask/artifact/uninstall.rb +++ b/Library/Homebrew/cask/artifact/uninstall.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "cask/artifact/abstract_uninstall" diff --git a/Library/Homebrew/cask/artifact/zap.rb b/Library/Homebrew/cask/artifact/zap.rb index 052149986a0b2..0da02e19854c6 100644 --- a/Library/Homebrew/cask/artifact/zap.rb +++ b/Library/Homebrew/cask/artifact/zap.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "cask/artifact/abstract_uninstall" diff --git a/Library/Homebrew/cask/artifact_set.rb b/Library/Homebrew/cask/artifact_set.rb index 6657ff823a34c..517debcd25968 100644 --- a/Library/Homebrew/cask/artifact_set.rb +++ b/Library/Homebrew/cask/artifact_set.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true module Cask diff --git a/Library/Homebrew/cask/audit.rb b/Library/Homebrew/cask/audit.rb index c69433d9155e3..e903d558de4e4 100644 --- a/Library/Homebrew/cask/audit.rb +++ b/Library/Homebrew/cask/audit.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "attrable" diff --git a/Library/Homebrew/cask/auditor.rb b/Library/Homebrew/cask/auditor.rb index 7b5424e8f1931..f79de7218568e 100644 --- a/Library/Homebrew/cask/auditor.rb +++ b/Library/Homebrew/cask/auditor.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "cask/audit" diff --git a/Library/Homebrew/cask/cask.rb b/Library/Homebrew/cask/cask.rb index 0e8a1f9c008a3..37c0c4ad07346 100644 --- a/Library/Homebrew/cask/cask.rb +++ b/Library/Homebrew/cask/cask.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "attrable" diff --git a/Library/Homebrew/cask/cask_loader.rb b/Library/Homebrew/cask/cask_loader.rb index 843c0d3415e47..81646dc57979a 100644 --- a/Library/Homebrew/cask/cask_loader.rb +++ b/Library/Homebrew/cask/cask_loader.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "cask/cache" diff --git a/Library/Homebrew/cask/caskroom.rb b/Library/Homebrew/cask/caskroom.rb index 1c2d4dd0914c0..5f086e86c2b86 100644 --- a/Library/Homebrew/cask/caskroom.rb +++ b/Library/Homebrew/cask/caskroom.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "utils/user" diff --git a/Library/Homebrew/cask/config.rb b/Library/Homebrew/cask/config.rb index 7b91ceb2c408b..30a5c521cb207 100644 --- a/Library/Homebrew/cask/config.rb +++ b/Library/Homebrew/cask/config.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "json" diff --git a/Library/Homebrew/cask/download.rb b/Library/Homebrew/cask/download.rb index cf71a16fa2766..075396a47e75c 100644 --- a/Library/Homebrew/cask/download.rb +++ b/Library/Homebrew/cask/download.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "downloadable" diff --git a/Library/Homebrew/cask/dsl.rb b/Library/Homebrew/cask/dsl.rb index 1c7c8a6e9fc0d..32021a702c1b7 100644 --- a/Library/Homebrew/cask/dsl.rb +++ b/Library/Homebrew/cask/dsl.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "attrable" diff --git a/Library/Homebrew/cask/dsl/base.rb b/Library/Homebrew/cask/dsl/base.rb index b849665a4092d..900889a59edbd 100644 --- a/Library/Homebrew/cask/dsl/base.rb +++ b/Library/Homebrew/cask/dsl/base.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "cask/utils" diff --git a/Library/Homebrew/cask/dsl/caveats.rb b/Library/Homebrew/cask/dsl/caveats.rb index d3dd2744a66fe..5872cb79108eb 100644 --- a/Library/Homebrew/cask/dsl/caveats.rb +++ b/Library/Homebrew/cask/dsl/caveats.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "attrable" diff --git a/Library/Homebrew/cask/dsl/conflicts_with.rb b/Library/Homebrew/cask/dsl/conflicts_with.rb index c4a43116c499c..dcf8a84b51809 100644 --- a/Library/Homebrew/cask/dsl/conflicts_with.rb +++ b/Library/Homebrew/cask/dsl/conflicts_with.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "delegate" diff --git a/Library/Homebrew/cask/dsl/container.rb b/Library/Homebrew/cask/dsl/container.rb index 54bc3bc4e827c..0ddcb8a6f1326 100644 --- a/Library/Homebrew/cask/dsl/container.rb +++ b/Library/Homebrew/cask/dsl/container.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "unpack_strategy" diff --git a/Library/Homebrew/cask/dsl/depends_on.rb b/Library/Homebrew/cask/dsl/depends_on.rb index 31ff402d55429..2aaad1d6b52e0 100644 --- a/Library/Homebrew/cask/dsl/depends_on.rb +++ b/Library/Homebrew/cask/dsl/depends_on.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "delegate" diff --git a/Library/Homebrew/cask/dsl/version.rb b/Library/Homebrew/cask/dsl/version.rb index 30f8ebcd64a71..9613879652196 100644 --- a/Library/Homebrew/cask/dsl/version.rb +++ b/Library/Homebrew/cask/dsl/version.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true module Cask diff --git a/Library/Homebrew/cask/exceptions.rb b/Library/Homebrew/cask/exceptions.rb index aa4e91863dd93..6430517a48371 100644 --- a/Library/Homebrew/cask/exceptions.rb +++ b/Library/Homebrew/cask/exceptions.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true module Cask diff --git a/Library/Homebrew/cask/installer.rb b/Library/Homebrew/cask/installer.rb index 33dcb9168afa7..1b5433dae1dc3 100644 --- a/Library/Homebrew/cask/installer.rb +++ b/Library/Homebrew/cask/installer.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "attrable" diff --git a/Library/Homebrew/cask/list.rb b/Library/Homebrew/cask/list.rb index 2333ae620e8c6..519123f876d98 100644 --- a/Library/Homebrew/cask/list.rb +++ b/Library/Homebrew/cask/list.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "cask/artifact/relocated" diff --git a/Library/Homebrew/cask/macos.rb b/Library/Homebrew/cask/macos.rb index 8db4eeeb0a34e..ac1a2349b9c1e 100644 --- a/Library/Homebrew/cask/macos.rb +++ b/Library/Homebrew/cask/macos.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true module OS diff --git a/Library/Homebrew/cask/metadata.rb b/Library/Homebrew/cask/metadata.rb index eabb22275ac3e..271845c48b284 100644 --- a/Library/Homebrew/cask/metadata.rb +++ b/Library/Homebrew/cask/metadata.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true module Cask diff --git a/Library/Homebrew/cask/migrator.rb b/Library/Homebrew/cask/migrator.rb index ae97769f6d1fa..9f15da316cf0a 100644 --- a/Library/Homebrew/cask/migrator.rb +++ b/Library/Homebrew/cask/migrator.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "cask/cask_loader" diff --git a/Library/Homebrew/cask/pkg.rb b/Library/Homebrew/cask/pkg.rb index 0540d8427e196..39f13c54f7711 100644 --- a/Library/Homebrew/cask/pkg.rb +++ b/Library/Homebrew/cask/pkg.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "cask/macos" diff --git a/Library/Homebrew/cask/quarantine.rb b/Library/Homebrew/cask/quarantine.rb index 2fdd99c98ff75..6af81b6aeb716 100644 --- a/Library/Homebrew/cask/quarantine.rb +++ b/Library/Homebrew/cask/quarantine.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "development_tools" diff --git a/Library/Homebrew/cask/reinstall.rb b/Library/Homebrew/cask/reinstall.rb index 7fa966fc1e848..bad643b380fc7 100644 --- a/Library/Homebrew/cask/reinstall.rb +++ b/Library/Homebrew/cask/reinstall.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true module Cask diff --git a/Library/Homebrew/cask/staged.rb b/Library/Homebrew/cask/staged.rb index 613c3e42c16b0..83f2da1415430 100644 --- a/Library/Homebrew/cask/staged.rb +++ b/Library/Homebrew/cask/staged.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "utils/user" diff --git a/Library/Homebrew/cask/tab.rb b/Library/Homebrew/cask/tab.rb index 4cf359b33ada3..f7e12a3bcb853 100644 --- a/Library/Homebrew/cask/tab.rb +++ b/Library/Homebrew/cask/tab.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "tab" diff --git a/Library/Homebrew/cask/uninstall.rb b/Library/Homebrew/cask/uninstall.rb index bd17ff7bbfaca..ebfc74ee27790 100644 --- a/Library/Homebrew/cask/uninstall.rb +++ b/Library/Homebrew/cask/uninstall.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true module Cask diff --git a/Library/Homebrew/cask/url.rb b/Library/Homebrew/cask/url.rb index ca79267196c74..64c9cdb40d71c 100644 --- a/Library/Homebrew/cask/url.rb +++ b/Library/Homebrew/cask/url.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "source_location" diff --git a/Library/Homebrew/cask/utils.rb b/Library/Homebrew/cask/utils.rb index 2fe99ae3fa06a..f401e4a5e3be8 100644 --- a/Library/Homebrew/cask/utils.rb +++ b/Library/Homebrew/cask/utils.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "utils/user" diff --git a/Library/Homebrew/cask_dependent.rb b/Library/Homebrew/cask_dependent.rb index 36c28c5e2cf49..cdea653623951 100644 --- a/Library/Homebrew/cask_dependent.rb +++ b/Library/Homebrew/cask_dependent.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "requirement" diff --git a/Library/Homebrew/caveats.rb b/Library/Homebrew/caveats.rb index 4db27d7a87a2d..745c21038ee4d 100644 --- a/Library/Homebrew/caveats.rb +++ b/Library/Homebrew/caveats.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "language/python" diff --git a/Library/Homebrew/cleaner.rb b/Library/Homebrew/cleaner.rb index 4b38ab91d730f..d81022029c413 100644 --- a/Library/Homebrew/cleaner.rb +++ b/Library/Homebrew/cleaner.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true # Cleans a newly installed keg. diff --git a/Library/Homebrew/cleanup.rb b/Library/Homebrew/cleanup.rb index da64f43ad6946..7b80a9f2e5643 100644 --- a/Library/Homebrew/cleanup.rb +++ b/Library/Homebrew/cleanup.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "utils/bottles" diff --git a/Library/Homebrew/cli/args.rb b/Library/Homebrew/cli/args.rb index 70eda0ea05dca..5a313b5249944 100644 --- a/Library/Homebrew/cli/args.rb +++ b/Library/Homebrew/cli/args.rb @@ -1,4 +1,4 @@ -# typed: true # This cannot be `# typed: strict` due to the use of `undef`. +# typed: true # rubocop:disable Sorbet/StrictSigil # frozen_string_literal: true require "ostruct" diff --git a/Library/Homebrew/cli/named_args.rb b/Library/Homebrew/cli/named_args.rb index 4928d4a011087..763c5dda1ac60 100644 --- a/Library/Homebrew/cli/named_args.rb +++ b/Library/Homebrew/cli/named_args.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "delegate" diff --git a/Library/Homebrew/cmd/deps.rb b/Library/Homebrew/cmd/deps.rb index 6e535c4bd88d0..fab09e12ac05e 100644 --- a/Library/Homebrew/cmd/deps.rb +++ b/Library/Homebrew/cmd/deps.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "abstract_command" diff --git a/Library/Homebrew/cmd/fetch.rb b/Library/Homebrew/cmd/fetch.rb index 168c671d4deb4..96eca371d3cbd 100644 --- a/Library/Homebrew/cmd/fetch.rb +++ b/Library/Homebrew/cmd/fetch.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "abstract_command" diff --git a/Library/Homebrew/cmd/info.rb b/Library/Homebrew/cmd/info.rb index 4d550a8ffd33d..d213dd9c8d4ef 100644 --- a/Library/Homebrew/cmd/info.rb +++ b/Library/Homebrew/cmd/info.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "abstract_command" diff --git a/Library/Homebrew/cmd/update-report.rb b/Library/Homebrew/cmd/update-report.rb index 4d664f2d5b9d0..46891ec815f57 100644 --- a/Library/Homebrew/cmd/update-report.rb +++ b/Library/Homebrew/cmd/update-report.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "abstract_command" diff --git a/Library/Homebrew/commands.rb b/Library/Homebrew/commands.rb index e191990082da0..29fd1b9469550 100644 --- a/Library/Homebrew/commands.rb +++ b/Library/Homebrew/commands.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true # Helper functions for commands. diff --git a/Library/Homebrew/compilers.rb b/Library/Homebrew/compilers.rb index 0e315871bcb91..33c1f3aad80f7 100644 --- a/Library/Homebrew/compilers.rb +++ b/Library/Homebrew/compilers.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true module CompilerConstants diff --git a/Library/Homebrew/completions.rb b/Library/Homebrew/completions.rb index b1eafb3f10a64..af795741cb465 100644 --- a/Library/Homebrew/completions.rb +++ b/Library/Homebrew/completions.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "utils/link" diff --git a/Library/Homebrew/context.rb b/Library/Homebrew/context.rb index 46f57a0ce5a88..382f60906329c 100644 --- a/Library/Homebrew/context.rb +++ b/Library/Homebrew/context.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "monitor" diff --git a/Library/Homebrew/cxxstdlib.rb b/Library/Homebrew/cxxstdlib.rb index a87523c4727bd..e863b226bbc9a 100644 --- a/Library/Homebrew/cxxstdlib.rb +++ b/Library/Homebrew/cxxstdlib.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "compilers" diff --git a/Library/Homebrew/debrew.rb b/Library/Homebrew/debrew.rb index 15d514e084b38..5679d2ccfbe49 100644 --- a/Library/Homebrew/debrew.rb +++ b/Library/Homebrew/debrew.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "attrable" diff --git a/Library/Homebrew/debrew/irb.rb b/Library/Homebrew/debrew/irb.rb index 5b204a576ce00..a18f892225704 100644 --- a/Library/Homebrew/debrew/irb.rb +++ b/Library/Homebrew/debrew/irb.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "irb" diff --git a/Library/Homebrew/dependable.rb b/Library/Homebrew/dependable.rb index 570309d540696..f0d089491c3bc 100644 --- a/Library/Homebrew/dependable.rb +++ b/Library/Homebrew/dependable.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "options" diff --git a/Library/Homebrew/dependencies.rb b/Library/Homebrew/dependencies.rb index 6eec3de36e8e0..3e8bd125e83d6 100644 --- a/Library/Homebrew/dependencies.rb +++ b/Library/Homebrew/dependencies.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "delegate" diff --git a/Library/Homebrew/dependencies_helpers.rb b/Library/Homebrew/dependencies_helpers.rb index 7b0f4dc0e5d97..989fdc43eaeaa 100644 --- a/Library/Homebrew/dependencies_helpers.rb +++ b/Library/Homebrew/dependencies_helpers.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "cask_dependent" diff --git a/Library/Homebrew/dependency.rb b/Library/Homebrew/dependency.rb index 79a3c5684ff8c..ac17ea2500c78 100644 --- a/Library/Homebrew/dependency.rb +++ b/Library/Homebrew/dependency.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "dependable" diff --git a/Library/Homebrew/dependency_collector.rb b/Library/Homebrew/dependency_collector.rb index 1710cda8da5c2..50dc74434fa35 100644 --- a/Library/Homebrew/dependency_collector.rb +++ b/Library/Homebrew/dependency_collector.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "dependency" diff --git a/Library/Homebrew/deprecate_disable.rb b/Library/Homebrew/deprecate_disable.rb index 7303382f8aa11..ce794c29c71ad 100644 --- a/Library/Homebrew/deprecate_disable.rb +++ b/Library/Homebrew/deprecate_disable.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true # Helper module for handling `disable!` and `deprecate!`. diff --git a/Library/Homebrew/description_cache_store.rb b/Library/Homebrew/description_cache_store.rb index fe634b8dd32f4..4804a2bfea314 100644 --- a/Library/Homebrew/description_cache_store.rb +++ b/Library/Homebrew/description_cache_store.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "cache_store" diff --git a/Library/Homebrew/descriptions.rb b/Library/Homebrew/descriptions.rb index 967c0d7c22010..63b28cefa8be8 100644 --- a/Library/Homebrew/descriptions.rb +++ b/Library/Homebrew/descriptions.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "formula" diff --git a/Library/Homebrew/dev-cmd/extract.rb b/Library/Homebrew/dev-cmd/extract.rb index d4295b829c92b..48d6e3ac1f09c 100644 --- a/Library/Homebrew/dev-cmd/extract.rb +++ b/Library/Homebrew/dev-cmd/extract.rb @@ -1,4 +1,4 @@ -# typed: true # This cannot be `# typed: strict` due to the use of `undef`. +# typed: true # rubocop:disable Sorbet/StrictSigil # frozen_string_literal: true require "abstract_command" diff --git a/Library/Homebrew/diagnostic.rb b/Library/Homebrew/diagnostic.rb index e67008744c353..a2507d200a5ee 100644 --- a/Library/Homebrew/diagnostic.rb +++ b/Library/Homebrew/diagnostic.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "keg" diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb index 171c1d33cb24f..39b81a10739a2 100644 --- a/Library/Homebrew/download_strategy.rb +++ b/Library/Homebrew/download_strategy.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "json" diff --git a/Library/Homebrew/downloadable.rb b/Library/Homebrew/downloadable.rb index 5a1d4dbd023fc..9a82d99f4ee5d 100644 --- a/Library/Homebrew/downloadable.rb +++ b/Library/Homebrew/downloadable.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "url" diff --git a/Library/Homebrew/exceptions.rb b/Library/Homebrew/exceptions.rb index de9b1ebbd3e78..26fcca498a764 100644 --- a/Library/Homebrew/exceptions.rb +++ b/Library/Homebrew/exceptions.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true # Raised when a command is used wrong. diff --git a/Library/Homebrew/extend/ENV/shared.rb b/Library/Homebrew/extend/ENV/shared.rb index 86f871aeff934..b07cb2a432b32 100644 --- a/Library/Homebrew/extend/ENV/shared.rb +++ b/Library/Homebrew/extend/ENV/shared.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "compilers" diff --git a/Library/Homebrew/extend/ENV/super.rb b/Library/Homebrew/extend/ENV/super.rb index 7a3677bd882f5..2462e7cbbb97c 100644 --- a/Library/Homebrew/extend/ENV/super.rb +++ b/Library/Homebrew/extend/ENV/super.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "extend/ENV/shared" diff --git a/Library/Homebrew/extend/api_hashable.rb b/Library/Homebrew/extend/api_hashable.rb index 9deb491cbc6bb..e1e4098e9516b 100644 --- a/Library/Homebrew/extend/api_hashable.rb +++ b/Library/Homebrew/extend/api_hashable.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true # Used to substitute common paths with generic placeholders when generating JSON for the API. diff --git a/Library/Homebrew/extend/io.rb b/Library/Homebrew/extend/io.rb index 383b8213c918e..0195626bd15db 100644 --- a/Library/Homebrew/extend/io.rb +++ b/Library/Homebrew/extend/io.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true class IO diff --git a/Library/Homebrew/extend/kernel.rb b/Library/Homebrew/extend/kernel.rb index 0d27cee9377f8..64555e576cd13 100644 --- a/Library/Homebrew/extend/kernel.rb +++ b/Library/Homebrew/extend/kernel.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true # Contains shorthand Homebrew utility methods like `ohai`, `opoo`, `odisabled`. diff --git a/Library/Homebrew/extend/on_system.rb b/Library/Homebrew/extend/on_system.rb index 711396b1b89a0..3d6b97b95f1ac 100644 --- a/Library/Homebrew/extend/on_system.rb +++ b/Library/Homebrew/extend/on_system.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "simulate_system" diff --git a/Library/Homebrew/extend/os/linux/cleanup.rb b/Library/Homebrew/extend/os/linux/cleanup.rb index 85f0c3e66782e..40a9dff6b85e1 100644 --- a/Library/Homebrew/extend/os/linux/cleanup.rb +++ b/Library/Homebrew/extend/os/linux/cleanup.rb @@ -1,4 +1,4 @@ -# typed: true # This cannot be `# typed: strict` due to the use of `undef`. +# typed: true # rubocop:disable Sorbet/StrictSigil # frozen_string_literal: true module Homebrew diff --git a/Library/Homebrew/extend/os/linux/dependency_collector.rb b/Library/Homebrew/extend/os/linux/dependency_collector.rb index 135edc6593f5d..80362457b2cfb 100644 --- a/Library/Homebrew/extend/os/linux/dependency_collector.rb +++ b/Library/Homebrew/extend/os/linux/dependency_collector.rb @@ -1,4 +1,4 @@ -# typed: true # This cannot be `# typed: strict` due to the use of `undef`. +# typed: true # rubocop:disable Sorbet/StrictSigil # frozen_string_literal: true require "os/linux/glibc" diff --git a/Library/Homebrew/extend/os/linux/development_tools.rb b/Library/Homebrew/extend/os/linux/development_tools.rb index 49f34e384012b..5766df623e22a 100644 --- a/Library/Homebrew/extend/os/linux/development_tools.rb +++ b/Library/Homebrew/extend/os/linux/development_tools.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true class DevelopmentTools diff --git a/Library/Homebrew/extend/os/linux/diagnostic.rb b/Library/Homebrew/extend/os/linux/diagnostic.rb index 468a6b6587b49..0c91eb4cf9e84 100644 --- a/Library/Homebrew/extend/os/linux/diagnostic.rb +++ b/Library/Homebrew/extend/os/linux/diagnostic.rb @@ -1,4 +1,4 @@ -# typed: true # This cannot be `# typed: strict` due to the use of `undef`. +# typed: true # rubocop:disable Sorbet/StrictSigil # frozen_string_literal: true require "tempfile" diff --git a/Library/Homebrew/extend/os/linux/extend/ENV/shared.rb b/Library/Homebrew/extend/os/linux/extend/ENV/shared.rb index 0d157d1954295..2d42c97b9c652 100644 --- a/Library/Homebrew/extend/os/linux/extend/ENV/shared.rb +++ b/Library/Homebrew/extend/os/linux/extend/ENV/shared.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true module SharedEnvExtension diff --git a/Library/Homebrew/extend/os/linux/extend/ENV/std.rb b/Library/Homebrew/extend/os/linux/extend/ENV/std.rb index 434ec586eef9f..ba2fa12309d4a 100644 --- a/Library/Homebrew/extend/os/linux/extend/ENV/std.rb +++ b/Library/Homebrew/extend/os/linux/extend/ENV/std.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true module Stdenv diff --git a/Library/Homebrew/extend/os/linux/extend/ENV/super.rb b/Library/Homebrew/extend/os/linux/extend/ENV/super.rb index ad6d1e10a9edc..f0aa87920edad 100644 --- a/Library/Homebrew/extend/os/linux/extend/ENV/super.rb +++ b/Library/Homebrew/extend/os/linux/extend/ENV/super.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true module Superenv diff --git a/Library/Homebrew/extend/os/linux/formula.rb b/Library/Homebrew/extend/os/linux/formula.rb index 1efa971637b6e..a6914a1f02c54 100644 --- a/Library/Homebrew/extend/os/linux/formula.rb +++ b/Library/Homebrew/extend/os/linux/formula.rb @@ -1,4 +1,4 @@ -# typed: true # This cannot be `# typed: strict` due to the use of `undef`. +# typed: true # rubocop:disable Sorbet/StrictSigil # frozen_string_literal: true class Formula diff --git a/Library/Homebrew/extend/os/linux/formula_installer.rb b/Library/Homebrew/extend/os/linux/formula_installer.rb index d1286b8a7458f..718e4bf30242f 100644 --- a/Library/Homebrew/extend/os/linux/formula_installer.rb +++ b/Library/Homebrew/extend/os/linux/formula_installer.rb @@ -1,4 +1,4 @@ -# typed: true # This cannot be `# typed: strict` due to the use of `undef`. +# typed: true # rubocop:disable Sorbet/StrictSigil # frozen_string_literal: true class FormulaInstaller diff --git a/Library/Homebrew/extend/os/linux/hardware/cpu.rb b/Library/Homebrew/extend/os/linux/hardware/cpu.rb index 1ae24e1d73cb3..c90bd86de895d 100644 --- a/Library/Homebrew/extend/os/linux/hardware/cpu.rb +++ b/Library/Homebrew/extend/os/linux/hardware/cpu.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true module Hardware diff --git a/Library/Homebrew/extend/os/linux/install.rb b/Library/Homebrew/extend/os/linux/install.rb index e4476a00b88b6..ab4a4901466bd 100644 --- a/Library/Homebrew/extend/os/linux/install.rb +++ b/Library/Homebrew/extend/os/linux/install.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true module Homebrew diff --git a/Library/Homebrew/extend/os/linux/keg.rb b/Library/Homebrew/extend/os/linux/keg.rb index 0f30b67899a91..28860c0bfbb12 100644 --- a/Library/Homebrew/extend/os/linux/keg.rb +++ b/Library/Homebrew/extend/os/linux/keg.rb @@ -1,4 +1,4 @@ -# typed: true # This cannot be `# typed: strict` due to the use of `undef`. +# typed: true # rubocop:disable Sorbet/StrictSigil # frozen_string_literal: true class Keg diff --git a/Library/Homebrew/extend/os/linux/keg_relocate.rb b/Library/Homebrew/extend/os/linux/keg_relocate.rb index 7456803b2f99a..6b53cd5e15943 100644 --- a/Library/Homebrew/extend/os/linux/keg_relocate.rb +++ b/Library/Homebrew/extend/os/linux/keg_relocate.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "compilers" diff --git a/Library/Homebrew/extend/os/linux/linkage_checker.rb b/Library/Homebrew/extend/os/linux/linkage_checker.rb index 387edc8e7c657..c2392f7d7b512 100644 --- a/Library/Homebrew/extend/os/linux/linkage_checker.rb +++ b/Library/Homebrew/extend/os/linux/linkage_checker.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "compilers" diff --git a/Library/Homebrew/extend/os/linux/parser.rb b/Library/Homebrew/extend/os/linux/parser.rb index 849a84d73e8b8..6458173df0a5f 100644 --- a/Library/Homebrew/extend/os/linux/parser.rb +++ b/Library/Homebrew/extend/os/linux/parser.rb @@ -1,4 +1,4 @@ -# typed: true # This cannot be `# typed: strict` due to the use of `undef`. +# typed: true # rubocop:disable Sorbet/StrictSigil # frozen_string_literal: true module Homebrew diff --git a/Library/Homebrew/extend/os/linux/simulate_system.rb b/Library/Homebrew/extend/os/linux/simulate_system.rb index 007f2c4e8372d..106cbc0eb5af8 100644 --- a/Library/Homebrew/extend/os/linux/simulate_system.rb +++ b/Library/Homebrew/extend/os/linux/simulate_system.rb @@ -1,4 +1,4 @@ -# typed: true # This cannot be `# typed: strict` due to the use of `undef`. +# typed: true # rubocop:disable Sorbet/StrictSigil # frozen_string_literal: true module Homebrew diff --git a/Library/Homebrew/extend/os/linux/system_config.rb b/Library/Homebrew/extend/os/linux/system_config.rb index 39b4d31477402..8f991634547ba 100644 --- a/Library/Homebrew/extend/os/linux/system_config.rb +++ b/Library/Homebrew/extend/os/linux/system_config.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "compilers" diff --git a/Library/Homebrew/extend/os/mac/cleaner.rb b/Library/Homebrew/extend/os/mac/cleaner.rb index 5ca8a8243aab0..a91283da8893d 100644 --- a/Library/Homebrew/extend/os/mac/cleaner.rb +++ b/Library/Homebrew/extend/os/mac/cleaner.rb @@ -1,4 +1,4 @@ -# typed: true # This cannot be `# typed: strict` due to the use of `undef`. +# typed: true # rubocop:disable Sorbet/StrictSigil # frozen_string_literal: true class Cleaner diff --git a/Library/Homebrew/extend/os/mac/cleanup.rb b/Library/Homebrew/extend/os/mac/cleanup.rb index 32e536319029a..6ede0bcd7ada8 100644 --- a/Library/Homebrew/extend/os/mac/cleanup.rb +++ b/Library/Homebrew/extend/os/mac/cleanup.rb @@ -1,4 +1,4 @@ -# typed: true # This cannot be `# typed: strict` due to the use of `undef`. +# typed: true # rubocop:disable Sorbet/StrictSigil # frozen_string_literal: true module Homebrew diff --git a/Library/Homebrew/extend/os/mac/dependency_collector.rb b/Library/Homebrew/extend/os/mac/dependency_collector.rb index 42024fc41f385..5483178f5694a 100644 --- a/Library/Homebrew/extend/os/mac/dependency_collector.rb +++ b/Library/Homebrew/extend/os/mac/dependency_collector.rb @@ -1,4 +1,4 @@ -# typed: true # This cannot be `# typed: strict` due to the use of `undef`. +# typed: true # rubocop:disable Sorbet/StrictSigil # frozen_string_literal: true class DependencyCollector diff --git a/Library/Homebrew/extend/os/mac/dev-cmd/bottle.rb b/Library/Homebrew/extend/os/mac/dev-cmd/bottle.rb index 9743384f466ad..413d50f87a321 100644 --- a/Library/Homebrew/extend/os/mac/dev-cmd/bottle.rb +++ b/Library/Homebrew/extend/os/mac/dev-cmd/bottle.rb @@ -1,4 +1,4 @@ -# typed: true # This cannot be `# typed: strict` due to the use of `undef`. +# typed: true # rubocop:disable Sorbet/StrictSigil # frozen_string_literal: true module Homebrew diff --git a/Library/Homebrew/extend/os/mac/development_tools.rb b/Library/Homebrew/extend/os/mac/development_tools.rb index 524f084f53f44..7f3f111a718b4 100644 --- a/Library/Homebrew/extend/os/mac/development_tools.rb +++ b/Library/Homebrew/extend/os/mac/development_tools.rb @@ -1,4 +1,4 @@ -# typed: true # This cannot be `# typed: strict` due to the use of `undef`. +# typed: true # rubocop:disable Sorbet/StrictSigil # frozen_string_literal: true require "os/mac/xcode" diff --git a/Library/Homebrew/extend/os/mac/diagnostic.rb b/Library/Homebrew/extend/os/mac/diagnostic.rb index d15864840ecba..85ce31de16d0c 100644 --- a/Library/Homebrew/extend/os/mac/diagnostic.rb +++ b/Library/Homebrew/extend/os/mac/diagnostic.rb @@ -1,4 +1,4 @@ -# typed: true # This cannot be `# typed: strict` due to the use of `undef`. +# typed: true # rubocop:disable Sorbet/StrictSigil # frozen_string_literal: true module Homebrew diff --git a/Library/Homebrew/extend/os/mac/extend/ENV/std.rb b/Library/Homebrew/extend/os/mac/extend/ENV/std.rb index 78840f57dc5c0..c312eb1125234 100644 --- a/Library/Homebrew/extend/os/mac/extend/ENV/std.rb +++ b/Library/Homebrew/extend/os/mac/extend/ENV/std.rb @@ -1,4 +1,4 @@ -# typed: true # This cannot be `# typed: strict` due to the use of `undef`. +# typed: true # rubocop:disable Sorbet/StrictSigil # frozen_string_literal: true module Stdenv diff --git a/Library/Homebrew/extend/os/mac/extend/ENV/super.rb b/Library/Homebrew/extend/os/mac/extend/ENV/super.rb index 391a7066981e1..ec10a7e06eae7 100644 --- a/Library/Homebrew/extend/os/mac/extend/ENV/super.rb +++ b/Library/Homebrew/extend/os/mac/extend/ENV/super.rb @@ -1,4 +1,4 @@ -# typed: true # This cannot be `# typed: strict` due to the use of `undef`. +# typed: true # rubocop:disable Sorbet/StrictSigil # frozen_string_literal: true module Superenv diff --git a/Library/Homebrew/extend/os/mac/formula.rb b/Library/Homebrew/extend/os/mac/formula.rb index f474deef38840..c8a880832f186 100644 --- a/Library/Homebrew/extend/os/mac/formula.rb +++ b/Library/Homebrew/extend/os/mac/formula.rb @@ -1,4 +1,4 @@ -# typed: true # This cannot be `# typed: strict` due to the use of `undef`. +# typed: true # rubocop:disable Sorbet/StrictSigil # frozen_string_literal: true class Formula diff --git a/Library/Homebrew/extend/os/mac/formula_installer.rb b/Library/Homebrew/extend/os/mac/formula_installer.rb index 8b96c112a9c4a..67b4de7e5826c 100644 --- a/Library/Homebrew/extend/os/mac/formula_installer.rb +++ b/Library/Homebrew/extend/os/mac/formula_installer.rb @@ -1,4 +1,4 @@ -# typed: true # This cannot be `# typed: strict` due to the use of `undef`. +# typed: true # rubocop:disable Sorbet/StrictSigil # frozen_string_literal: true class FormulaInstaller diff --git a/Library/Homebrew/extend/os/mac/hardware/cpu.rb b/Library/Homebrew/extend/os/mac/hardware/cpu.rb index 20caa82f8a728..b81e0c2b661bb 100644 --- a/Library/Homebrew/extend/os/mac/hardware/cpu.rb +++ b/Library/Homebrew/extend/os/mac/hardware/cpu.rb @@ -1,4 +1,4 @@ -# typed: true # This cannot be `# typed: strict` due to the use of `undef`. +# typed: true # rubocop:disable Sorbet/StrictSigil # frozen_string_literal: true require "macho" diff --git a/Library/Homebrew/extend/os/mac/keg.rb b/Library/Homebrew/extend/os/mac/keg.rb index 9c3a79de42f17..67009e2f38430 100644 --- a/Library/Homebrew/extend/os/mac/keg.rb +++ b/Library/Homebrew/extend/os/mac/keg.rb @@ -1,4 +1,4 @@ -# typed: true # This cannot be `# typed: strict` due to the use of `undef`. +# typed: true # rubocop:disable Sorbet/StrictSigil # frozen_string_literal: true require "system_command" diff --git a/Library/Homebrew/extend/os/mac/keg_relocate.rb b/Library/Homebrew/extend/os/mac/keg_relocate.rb index bd9180593219d..bccadd74dbb66 100644 --- a/Library/Homebrew/extend/os/mac/keg_relocate.rb +++ b/Library/Homebrew/extend/os/mac/keg_relocate.rb @@ -1,4 +1,4 @@ -# typed: true # This cannot be `# typed: strict` due to the use of `undef`. +# typed: true # rubocop:disable Sorbet/StrictSigil # frozen_string_literal: true class Keg diff --git a/Library/Homebrew/extend/os/mac/linkage_checker.rb b/Library/Homebrew/extend/os/mac/linkage_checker.rb index fedb73be7a395..5844d645cfd03 100644 --- a/Library/Homebrew/extend/os/mac/linkage_checker.rb +++ b/Library/Homebrew/extend/os/mac/linkage_checker.rb @@ -1,4 +1,4 @@ -# typed: true # This cannot be `# typed: strict` due to the use of `undef`. +# typed: true # rubocop:disable Sorbet/StrictSigil # frozen_string_literal: true class LinkageChecker diff --git a/Library/Homebrew/extend/os/mac/readall.rb b/Library/Homebrew/extend/os/mac/readall.rb index fcd34fc8927dd..ca27d9a8d67cc 100644 --- a/Library/Homebrew/extend/os/mac/readall.rb +++ b/Library/Homebrew/extend/os/mac/readall.rb @@ -1,4 +1,4 @@ -# typed: true # This cannot be `# typed: strict` due to the use of `undef`. +# typed: true # rubocop:disable Sorbet/StrictSigil # frozen_string_literal: true module Readall diff --git a/Library/Homebrew/extend/os/mac/simulate_system.rb b/Library/Homebrew/extend/os/mac/simulate_system.rb index 7272b56bc4f02..c9b9050fca723 100644 --- a/Library/Homebrew/extend/os/mac/simulate_system.rb +++ b/Library/Homebrew/extend/os/mac/simulate_system.rb @@ -1,4 +1,4 @@ -# typed: true # This cannot be `# typed: strict` due to the use of `undef`. +# typed: true # rubocop:disable Sorbet/StrictSigil # frozen_string_literal: true module Homebrew diff --git a/Library/Homebrew/extend/os/mac/system_config.rb b/Library/Homebrew/extend/os/mac/system_config.rb index a41fa5331eb55..fc698df453c7f 100644 --- a/Library/Homebrew/extend/os/mac/system_config.rb +++ b/Library/Homebrew/extend/os/mac/system_config.rb @@ -1,4 +1,4 @@ -# typed: true # This cannot be `# typed: strict` due to the use of `undef`. +# typed: true # rubocop:disable Sorbet/StrictSigil # frozen_string_literal: true require "system_command" diff --git a/Library/Homebrew/extend/pathname.rb b/Library/Homebrew/extend/pathname.rb index d8b98bafb24b8..1f8cd606dd87c 100644 --- a/Library/Homebrew/extend/pathname.rb +++ b/Library/Homebrew/extend/pathname.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true module DiskUsageExtension diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 19415dc8c1844..c4132b8fbef24 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "attrable" diff --git a/Library/Homebrew/formula_auditor.rb b/Library/Homebrew/formula_auditor.rb index 73fc8e69c01e1..300e5808f5a40 100644 --- a/Library/Homebrew/formula_auditor.rb +++ b/Library/Homebrew/formula_auditor.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "deprecate_disable" diff --git a/Library/Homebrew/formula_cellar_checks.rb b/Library/Homebrew/formula_cellar_checks.rb index e220e77dee227..17f642b17a766 100644 --- a/Library/Homebrew/formula_cellar_checks.rb +++ b/Library/Homebrew/formula_cellar_checks.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "utils/shell" diff --git a/Library/Homebrew/formula_creator.rb b/Library/Homebrew/formula_creator.rb index 34aeceb2a3ec3..0a110481867b2 100644 --- a/Library/Homebrew/formula_creator.rb +++ b/Library/Homebrew/formula_creator.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "digest" diff --git a/Library/Homebrew/formula_info.rb b/Library/Homebrew/formula_info.rb index ea61e7b601e51..7ec8734e4e5d4 100644 --- a/Library/Homebrew/formula_info.rb +++ b/Library/Homebrew/formula_info.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true # Formula information drawn from an external `brew info --json` call. diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb index 10c562bad80b0..ec6a4345e0e38 100644 --- a/Library/Homebrew/formula_installer.rb +++ b/Library/Homebrew/formula_installer.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "formula" diff --git a/Library/Homebrew/formula_name_cask_token_auditor.rb b/Library/Homebrew/formula_name_cask_token_auditor.rb index 2789db89f6a7d..0115cd9f29b75 100644 --- a/Library/Homebrew/formula_name_cask_token_auditor.rb +++ b/Library/Homebrew/formula_name_cask_token_auditor.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true module Homebrew diff --git a/Library/Homebrew/formula_pin.rb b/Library/Homebrew/formula_pin.rb index 0889866b70b8f..3682bcb3e426f 100644 --- a/Library/Homebrew/formula_pin.rb +++ b/Library/Homebrew/formula_pin.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "keg" diff --git a/Library/Homebrew/formula_support.rb b/Library/Homebrew/formula_support.rb index 77c3a8405646a..9380275617328 100644 --- a/Library/Homebrew/formula_support.rb +++ b/Library/Homebrew/formula_support.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true # Used to track formulae that cannot be installed at the same time. diff --git a/Library/Homebrew/formula_versions.rb b/Library/Homebrew/formula_versions.rb index be56bb1bccd9f..62a650fd0b96d 100644 --- a/Library/Homebrew/formula_versions.rb +++ b/Library/Homebrew/formula_versions.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "formula" diff --git a/Library/Homebrew/formulary.rb b/Library/Homebrew/formulary.rb index 9c998487efdfc..67ae6b78ad7c7 100644 --- a/Library/Homebrew/formulary.rb +++ b/Library/Homebrew/formulary.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "digest/sha2" diff --git a/Library/Homebrew/github_packages.rb b/Library/Homebrew/github_packages.rb index 4e5ca77c4d826..a74a1e1548216 100644 --- a/Library/Homebrew/github_packages.rb +++ b/Library/Homebrew/github_packages.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "utils/curl" diff --git a/Library/Homebrew/global.rb b/Library/Homebrew/global.rb index 9ac55d5fedbfb..46ab618ab5231 100644 --- a/Library/Homebrew/global.rb +++ b/Library/Homebrew/global.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require_relative "startup" diff --git a/Library/Homebrew/hardware.rb b/Library/Homebrew/hardware.rb index 1d50182560c46..a4b085398c32a 100644 --- a/Library/Homebrew/hardware.rb +++ b/Library/Homebrew/hardware.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "utils/popen" diff --git a/Library/Homebrew/help.rb b/Library/Homebrew/help.rb index b6ce40666b103..88b6e297baeb2 100644 --- a/Library/Homebrew/help.rb +++ b/Library/Homebrew/help.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "cli/parser" diff --git a/Library/Homebrew/ignorable.rb b/Library/Homebrew/ignorable.rb index 15d1c8213acd7..624dd2269c177 100644 --- a/Library/Homebrew/ignorable.rb +++ b/Library/Homebrew/ignorable.rb @@ -1,4 +1,4 @@ -# typed: true # This cannot be `# typed: strict` due to the use of `undef`. +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "warnings" diff --git a/Library/Homebrew/install.rb b/Library/Homebrew/install.rb index fa6d55ef2b075..795192b3a0a03 100644 --- a/Library/Homebrew/install.rb +++ b/Library/Homebrew/install.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "diagnostic" diff --git a/Library/Homebrew/install_renamed.rb b/Library/Homebrew/install_renamed.rb index 9651ec2cc703a..5e4b0fd40b412 100644 --- a/Library/Homebrew/install_renamed.rb +++ b/Library/Homebrew/install_renamed.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true # Helper module for installing default files. diff --git a/Library/Homebrew/installed_dependents.rb b/Library/Homebrew/installed_dependents.rb index 0633af88695d9..14eaf239a0eb2 100644 --- a/Library/Homebrew/installed_dependents.rb +++ b/Library/Homebrew/installed_dependents.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "cask_dependent" diff --git a/Library/Homebrew/keg.rb b/Library/Homebrew/keg.rb index 1cc9ee16c710d..f6a051a9548e1 100644 --- a/Library/Homebrew/keg.rb +++ b/Library/Homebrew/keg.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "keg_relocate" diff --git a/Library/Homebrew/keg_relocate.rb b/Library/Homebrew/keg_relocate.rb index d691c635eb7a5..46170cd448dc9 100644 --- a/Library/Homebrew/keg_relocate.rb +++ b/Library/Homebrew/keg_relocate.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true class Keg diff --git a/Library/Homebrew/lazy_object.rb b/Library/Homebrew/lazy_object.rb index 364b10f8729cc..9f755d9faa13b 100644 --- a/Library/Homebrew/lazy_object.rb +++ b/Library/Homebrew/lazy_object.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "delegate" diff --git a/Library/Homebrew/linkage_cache_store.rb b/Library/Homebrew/linkage_cache_store.rb index 10b142533699a..5a9c251535995 100644 --- a/Library/Homebrew/linkage_cache_store.rb +++ b/Library/Homebrew/linkage_cache_store.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "cache_store" diff --git a/Library/Homebrew/linkage_checker.rb b/Library/Homebrew/linkage_checker.rb index 2250e1a90a28c..32f7676d24b87 100644 --- a/Library/Homebrew/linkage_checker.rb +++ b/Library/Homebrew/linkage_checker.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "keg" diff --git a/Library/Homebrew/locale.rb b/Library/Homebrew/locale.rb index b6cda9a6e7815..49b28c0795a09 100644 --- a/Library/Homebrew/locale.rb +++ b/Library/Homebrew/locale.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true # Representation of a system locale. diff --git a/Library/Homebrew/lock_file.rb b/Library/Homebrew/lock_file.rb index 4df5b0466be71..3f37bddaaf58d 100644 --- a/Library/Homebrew/lock_file.rb +++ b/Library/Homebrew/lock_file.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "fcntl" diff --git a/Library/Homebrew/macos_version.rb b/Library/Homebrew/macos_version.rb index 7b4502db2ef2e..b3a3444a4e63a 100644 --- a/Library/Homebrew/macos_version.rb +++ b/Library/Homebrew/macos_version.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "version" diff --git a/Library/Homebrew/manpages.rb b/Library/Homebrew/manpages.rb index 6b90a1c186d78..f49184cf12b29 100644 --- a/Library/Homebrew/manpages.rb +++ b/Library/Homebrew/manpages.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "cli/parser" diff --git a/Library/Homebrew/manpages/converter/kramdown.rb b/Library/Homebrew/manpages/converter/kramdown.rb index 413308edbbed1..448d4d45a3d3d 100644 --- a/Library/Homebrew/manpages/converter/kramdown.rb +++ b/Library/Homebrew/manpages/converter/kramdown.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "kramdown/converter/kramdown" diff --git a/Library/Homebrew/manpages/converter/roff.rb b/Library/Homebrew/manpages/converter/roff.rb index b4f88b53b999d..602336536873f 100644 --- a/Library/Homebrew/manpages/converter/roff.rb +++ b/Library/Homebrew/manpages/converter/roff.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "kramdown/converter/man" diff --git a/Library/Homebrew/manpages/parser/ronn.rb b/Library/Homebrew/manpages/parser/ronn.rb index fae27addb72c1..36cddd6111cce 100644 --- a/Library/Homebrew/manpages/parser/ronn.rb +++ b/Library/Homebrew/manpages/parser/ronn.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "kramdown/parser/kramdown" diff --git a/Library/Homebrew/migrator.rb b/Library/Homebrew/migrator.rb index ce40e3c9d34fd..f44517d4572ad 100644 --- a/Library/Homebrew/migrator.rb +++ b/Library/Homebrew/migrator.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "lock_file" diff --git a/Library/Homebrew/mktemp.rb b/Library/Homebrew/mktemp.rb index 2d03ec6fca489..043bfc28b0d43 100644 --- a/Library/Homebrew/mktemp.rb +++ b/Library/Homebrew/mktemp.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true # Performs {Formula#mktemp}'s functionality and tracks the results. diff --git a/Library/Homebrew/options.rb b/Library/Homebrew/options.rb index 6d7d0dfd9dcdf..e1d5653db9d83 100644 --- a/Library/Homebrew/options.rb +++ b/Library/Homebrew/options.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true # A formula option. diff --git a/Library/Homebrew/os/linux.rb b/Library/Homebrew/os/linux.rb index 2e2752c7bb7e2..7f5c32d85a15d 100644 --- a/Library/Homebrew/os/linux.rb +++ b/Library/Homebrew/os/linux.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "utils" diff --git a/Library/Homebrew/os/linux/elf.rb b/Library/Homebrew/os/linux/elf.rb index 9376bdf0476a9..91c4407670554 100644 --- a/Library/Homebrew/os/linux/elf.rb +++ b/Library/Homebrew/os/linux/elf.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "os/linux/ld" diff --git a/Library/Homebrew/os/linux/glibc.rb b/Library/Homebrew/os/linux/glibc.rb index caa392f889a8d..eff5a25a8e9da 100644 --- a/Library/Homebrew/os/linux/glibc.rb +++ b/Library/Homebrew/os/linux/glibc.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true module OS diff --git a/Library/Homebrew/os/mac.rb b/Library/Homebrew/os/mac.rb index 360fb7c1e5149..3a65aeab2f744 100644 --- a/Library/Homebrew/os/mac.rb +++ b/Library/Homebrew/os/mac.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "macos_version" diff --git a/Library/Homebrew/os/mac/keg.rb b/Library/Homebrew/os/mac/keg.rb index 9e692e64b118a..127633ee8775b 100644 --- a/Library/Homebrew/os/mac/keg.rb +++ b/Library/Homebrew/os/mac/keg.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true class Keg diff --git a/Library/Homebrew/os/mac/mach.rb b/Library/Homebrew/os/mac/mach.rb index bb5893e672ce9..a632b3d128bea 100644 --- a/Library/Homebrew/os/mac/mach.rb +++ b/Library/Homebrew/os/mac/mach.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "macho" diff --git a/Library/Homebrew/os/mac/sdk.rb b/Library/Homebrew/os/mac/sdk.rb index efea57282a4a8..a8540fbe0ac4b 100644 --- a/Library/Homebrew/os/mac/sdk.rb +++ b/Library/Homebrew/os/mac/sdk.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "system_command" diff --git a/Library/Homebrew/os/mac/xcode.rb b/Library/Homebrew/os/mac/xcode.rb index 584872212e40d..7b23b832c34e3 100644 --- a/Library/Homebrew/os/mac/xcode.rb +++ b/Library/Homebrew/os/mac/xcode.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true module OS diff --git a/Library/Homebrew/patch.rb b/Library/Homebrew/patch.rb index 2f7cceae958c5..6aacc0254b0cf 100644 --- a/Library/Homebrew/patch.rb +++ b/Library/Homebrew/patch.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "resource" diff --git a/Library/Homebrew/pkg_version.rb b/Library/Homebrew/pkg_version.rb index b29a52de817d7..6e29244d0e51e 100644 --- a/Library/Homebrew/pkg_version.rb +++ b/Library/Homebrew/pkg_version.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "version" diff --git a/Library/Homebrew/reinstall.rb b/Library/Homebrew/reinstall.rb index 39ad82d292ddb..78e74dc709340 100644 --- a/Library/Homebrew/reinstall.rb +++ b/Library/Homebrew/reinstall.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "formula_installer" diff --git a/Library/Homebrew/requirement.rb b/Library/Homebrew/requirement.rb index d8df3552e9cbb..9edd6a9a2306c 100644 --- a/Library/Homebrew/requirement.rb +++ b/Library/Homebrew/requirement.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "attrable" diff --git a/Library/Homebrew/requirements/arch_requirement.rb b/Library/Homebrew/requirements/arch_requirement.rb index 1b501f11fb478..65940a994619a 100644 --- a/Library/Homebrew/requirements/arch_requirement.rb +++ b/Library/Homebrew/requirements/arch_requirement.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "requirement" diff --git a/Library/Homebrew/requirements/codesign_requirement.rb b/Library/Homebrew/requirements/codesign_requirement.rb index 119ea2f79cde3..d486fec2b8af7 100644 --- a/Library/Homebrew/requirements/codesign_requirement.rb +++ b/Library/Homebrew/requirements/codesign_requirement.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true # A requirement on a code-signing identity. diff --git a/Library/Homebrew/requirements/macos_requirement.rb b/Library/Homebrew/requirements/macos_requirement.rb index acaa9d12f79bf..3189259b8a41e 100644 --- a/Library/Homebrew/requirements/macos_requirement.rb +++ b/Library/Homebrew/requirements/macos_requirement.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "requirement" diff --git a/Library/Homebrew/requirements/xcode_requirement.rb b/Library/Homebrew/requirements/xcode_requirement.rb index 687119d8b9a67..0d74f0e945520 100644 --- a/Library/Homebrew/requirements/xcode_requirement.rb +++ b/Library/Homebrew/requirements/xcode_requirement.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "requirement" diff --git a/Library/Homebrew/resource.rb b/Library/Homebrew/resource.rb index 7c4d6e773e3ea..61ce2eb408af1 100644 --- a/Library/Homebrew/resource.rb +++ b/Library/Homebrew/resource.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "downloadable" diff --git a/Library/Homebrew/resource_auditor.rb b/Library/Homebrew/resource_auditor.rb index 795b2cbe9f78a..ce92f9d9b39e2 100644 --- a/Library/Homebrew/resource_auditor.rb +++ b/Library/Homebrew/resource_auditor.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "utils/svn" diff --git a/Library/Homebrew/rubocops/blank.rb b/Library/Homebrew/rubocops/blank.rb index b32f1f94123a1..f71839eafb5fe 100644 --- a/Library/Homebrew/rubocops/blank.rb +++ b/Library/Homebrew/rubocops/blank.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true module RuboCop diff --git a/Library/Homebrew/rubocops/bottle.rb b/Library/Homebrew/rubocops/bottle.rb index 567702bd82c54..0255f1e4ae3c7 100644 --- a/Library/Homebrew/rubocops/bottle.rb +++ b/Library/Homebrew/rubocops/bottle.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "rubocops/extend/formula_cop" diff --git a/Library/Homebrew/rubocops/cask/array_alphabetization.rb b/Library/Homebrew/rubocops/cask/array_alphabetization.rb index ddbd872e4a0fb..2237052fce384 100644 --- a/Library/Homebrew/rubocops/cask/array_alphabetization.rb +++ b/Library/Homebrew/rubocops/cask/array_alphabetization.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true module RuboCop diff --git a/Library/Homebrew/rubocops/cask/ast/cask_block.rb b/Library/Homebrew/rubocops/cask/ast/cask_block.rb index f04aa1033b554..943c09185a14d 100644 --- a/Library/Homebrew/rubocops/cask/ast/cask_block.rb +++ b/Library/Homebrew/rubocops/cask/ast/cask_block.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "forwardable" diff --git a/Library/Homebrew/rubocops/cask/ast/cask_header.rb b/Library/Homebrew/rubocops/cask/ast/cask_header.rb index 8604c16e242d2..2b4ed0ef1e2cc 100644 --- a/Library/Homebrew/rubocops/cask/ast/cask_header.rb +++ b/Library/Homebrew/rubocops/cask/ast/cask_header.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true module RuboCop diff --git a/Library/Homebrew/rubocops/cask/ast/stanza.rb b/Library/Homebrew/rubocops/cask/ast/stanza.rb index d793076060e7a..a85ceecd5201f 100644 --- a/Library/Homebrew/rubocops/cask/ast/stanza.rb +++ b/Library/Homebrew/rubocops/cask/ast/stanza.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "forwardable" diff --git a/Library/Homebrew/rubocops/cask/constants/stanza.rb b/Library/Homebrew/rubocops/cask/constants/stanza.rb index 64c524d015040..2e911fc9e2de2 100644 --- a/Library/Homebrew/rubocops/cask/constants/stanza.rb +++ b/Library/Homebrew/rubocops/cask/constants/stanza.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true module RuboCop diff --git a/Library/Homebrew/rubocops/cask/desc.rb b/Library/Homebrew/rubocops/cask/desc.rb index 6d8a74207944a..64149fc0eb5d5 100644 --- a/Library/Homebrew/rubocops/cask/desc.rb +++ b/Library/Homebrew/rubocops/cask/desc.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "rubocops/cask/mixin/on_desc_stanza" diff --git a/Library/Homebrew/rubocops/cask/discontinued.rb b/Library/Homebrew/rubocops/cask/discontinued.rb index a2c87748cd309..76bd287ada9a0 100644 --- a/Library/Homebrew/rubocops/cask/discontinued.rb +++ b/Library/Homebrew/rubocops/cask/discontinued.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true module RuboCop diff --git a/Library/Homebrew/rubocops/cask/extend/node.rb b/Library/Homebrew/rubocops/cask/extend/node.rb index 463a1ad6fd5b9..8abc568ec0855 100644 --- a/Library/Homebrew/rubocops/cask/extend/node.rb +++ b/Library/Homebrew/rubocops/cask/extend/node.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true module RuboCop diff --git a/Library/Homebrew/rubocops/cask/homepage_url_styling.rb b/Library/Homebrew/rubocops/cask/homepage_url_styling.rb index 46a853eeb61a2..98820f5c739cb 100644 --- a/Library/Homebrew/rubocops/cask/homepage_url_styling.rb +++ b/Library/Homebrew/rubocops/cask/homepage_url_styling.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "forwardable" diff --git a/Library/Homebrew/rubocops/cask/mixin/cask_help.rb b/Library/Homebrew/rubocops/cask/mixin/cask_help.rb index 661f218b7d8d7..edea7f491913f 100644 --- a/Library/Homebrew/rubocops/cask/mixin/cask_help.rb +++ b/Library/Homebrew/rubocops/cask/mixin/cask_help.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true module RuboCop diff --git a/Library/Homebrew/rubocops/cask/mixin/on_desc_stanza.rb b/Library/Homebrew/rubocops/cask/mixin/on_desc_stanza.rb index 7a1050d6b9b97..032a900095a8c 100644 --- a/Library/Homebrew/rubocops/cask/mixin/on_desc_stanza.rb +++ b/Library/Homebrew/rubocops/cask/mixin/on_desc_stanza.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true module RuboCop diff --git a/Library/Homebrew/rubocops/cask/mixin/on_homepage_stanza.rb b/Library/Homebrew/rubocops/cask/mixin/on_homepage_stanza.rb index 4340bcaa7c96f..26b6bd2191b81 100644 --- a/Library/Homebrew/rubocops/cask/mixin/on_homepage_stanza.rb +++ b/Library/Homebrew/rubocops/cask/mixin/on_homepage_stanza.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true module RuboCop diff --git a/Library/Homebrew/rubocops/cask/mixin/on_url_stanza.rb b/Library/Homebrew/rubocops/cask/mixin/on_url_stanza.rb index 73c83e78379e4..ad2223644bdfd 100644 --- a/Library/Homebrew/rubocops/cask/mixin/on_url_stanza.rb +++ b/Library/Homebrew/rubocops/cask/mixin/on_url_stanza.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true module RuboCop diff --git a/Library/Homebrew/rubocops/cask/no_overrides.rb b/Library/Homebrew/rubocops/cask/no_overrides.rb index 03ba9a7c4a343..0493246252b20 100644 --- a/Library/Homebrew/rubocops/cask/no_overrides.rb +++ b/Library/Homebrew/rubocops/cask/no_overrides.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true module RuboCop diff --git a/Library/Homebrew/rubocops/cask/on_system_conditionals.rb b/Library/Homebrew/rubocops/cask/on_system_conditionals.rb index d6a267e4bad26..eab312a8b5d32 100644 --- a/Library/Homebrew/rubocops/cask/on_system_conditionals.rb +++ b/Library/Homebrew/rubocops/cask/on_system_conditionals.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "forwardable" diff --git a/Library/Homebrew/rubocops/cask/shared_filelist_glob.rb b/Library/Homebrew/rubocops/cask/shared_filelist_glob.rb index 24c4b6c07c285..bd4122dcd35a7 100644 --- a/Library/Homebrew/rubocops/cask/shared_filelist_glob.rb +++ b/Library/Homebrew/rubocops/cask/shared_filelist_glob.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true module RuboCop diff --git a/Library/Homebrew/rubocops/cask/stanza_grouping.rb b/Library/Homebrew/rubocops/cask/stanza_grouping.rb index d5d3b90f765d8..dacf4694046a7 100644 --- a/Library/Homebrew/rubocops/cask/stanza_grouping.rb +++ b/Library/Homebrew/rubocops/cask/stanza_grouping.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "forwardable" diff --git a/Library/Homebrew/rubocops/cask/stanza_order.rb b/Library/Homebrew/rubocops/cask/stanza_order.rb index dfbb6e9432094..ab9fc96e390c8 100644 --- a/Library/Homebrew/rubocops/cask/stanza_order.rb +++ b/Library/Homebrew/rubocops/cask/stanza_order.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "forwardable" diff --git a/Library/Homebrew/rubocops/cask/url.rb b/Library/Homebrew/rubocops/cask/url.rb index c051b03b3f31d..79ed4cb869f68 100644 --- a/Library/Homebrew/rubocops/cask/url.rb +++ b/Library/Homebrew/rubocops/cask/url.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "rubocops/shared/url_helper" diff --git a/Library/Homebrew/rubocops/cask/url_legacy_comma_separators.rb b/Library/Homebrew/rubocops/cask/url_legacy_comma_separators.rb index 6428b91eb8fb4..3111361a50e80 100644 --- a/Library/Homebrew/rubocops/cask/url_legacy_comma_separators.rb +++ b/Library/Homebrew/rubocops/cask/url_legacy_comma_separators.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true module RuboCop diff --git a/Library/Homebrew/rubocops/cask/variables.rb b/Library/Homebrew/rubocops/cask/variables.rb index 8a641291f744c..adf73e6889b92 100644 --- a/Library/Homebrew/rubocops/cask/variables.rb +++ b/Library/Homebrew/rubocops/cask/variables.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "forwardable" diff --git a/Library/Homebrew/rubocops/checksum.rb b/Library/Homebrew/rubocops/checksum.rb index de661974ab27d..c1776b2d74db6 100644 --- a/Library/Homebrew/rubocops/checksum.rb +++ b/Library/Homebrew/rubocops/checksum.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "rubocops/extend/formula_cop" diff --git a/Library/Homebrew/rubocops/compact_blank.rb b/Library/Homebrew/rubocops/compact_blank.rb index 9603abb67505b..b020db3447bfd 100644 --- a/Library/Homebrew/rubocops/compact_blank.rb +++ b/Library/Homebrew/rubocops/compact_blank.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true module RuboCop diff --git a/Library/Homebrew/rubocops/components_order.rb b/Library/Homebrew/rubocops/components_order.rb index 900d751fb9be8..14ccb3973e8e9 100644 --- a/Library/Homebrew/rubocops/components_order.rb +++ b/Library/Homebrew/rubocops/components_order.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "ast_constants" diff --git a/Library/Homebrew/rubocops/conflicts.rb b/Library/Homebrew/rubocops/conflicts.rb index e1cb4caa894c8..36eadf0465acf 100644 --- a/Library/Homebrew/rubocops/conflicts.rb +++ b/Library/Homebrew/rubocops/conflicts.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "rubocops/extend/formula_cop" diff --git a/Library/Homebrew/rubocops/dependency_order.rb b/Library/Homebrew/rubocops/dependency_order.rb index 0085d6f141409..3f9a343d6d64f 100644 --- a/Library/Homebrew/rubocops/dependency_order.rb +++ b/Library/Homebrew/rubocops/dependency_order.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "rubocops/extend/formula_cop" diff --git a/Library/Homebrew/rubocops/deprecate_disable.rb b/Library/Homebrew/rubocops/deprecate_disable.rb index ff6e02cdc8bea..127ec5de57fac 100644 --- a/Library/Homebrew/rubocops/deprecate_disable.rb +++ b/Library/Homebrew/rubocops/deprecate_disable.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "rubocops/extend/formula_cop" diff --git a/Library/Homebrew/rubocops/desc.rb b/Library/Homebrew/rubocops/desc.rb index 3f69f08461159..c68ac5d8e8511 100644 --- a/Library/Homebrew/rubocops/desc.rb +++ b/Library/Homebrew/rubocops/desc.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "rubocops/extend/formula_cop" diff --git a/Library/Homebrew/rubocops/extend/formula_cop.rb b/Library/Homebrew/rubocops/extend/formula_cop.rb index eca8e3627b1b1..bc771d852340d 100644 --- a/Library/Homebrew/rubocops/extend/formula_cop.rb +++ b/Library/Homebrew/rubocops/extend/formula_cop.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "rubocops/shared/helper_functions" diff --git a/Library/Homebrew/rubocops/install_bundler_gems.rb b/Library/Homebrew/rubocops/install_bundler_gems.rb index c65a2931a4470..f10bf15f9d2f1 100644 --- a/Library/Homebrew/rubocops/install_bundler_gems.rb +++ b/Library/Homebrew/rubocops/install_bundler_gems.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true module RuboCop diff --git a/Library/Homebrew/rubocops/io_read.rb b/Library/Homebrew/rubocops/io_read.rb index 46ad7e1320ab0..7e20f3e7b5598 100644 --- a/Library/Homebrew/rubocops/io_read.rb +++ b/Library/Homebrew/rubocops/io_read.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true module RuboCop diff --git a/Library/Homebrew/rubocops/keg_only.rb b/Library/Homebrew/rubocops/keg_only.rb index 98ce1c06111b6..765f05ba3b56d 100644 --- a/Library/Homebrew/rubocops/keg_only.rb +++ b/Library/Homebrew/rubocops/keg_only.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "rubocops/extend/formula_cop" diff --git a/Library/Homebrew/rubocops/lines.rb b/Library/Homebrew/rubocops/lines.rb index 2c1ef8103c605..5bb8666f2bf4f 100644 --- a/Library/Homebrew/rubocops/lines.rb +++ b/Library/Homebrew/rubocops/lines.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "macos_version" diff --git a/Library/Homebrew/rubocops/move_to_extend_os.rb b/Library/Homebrew/rubocops/move_to_extend_os.rb index a017758946040..00aa8742c661c 100644 --- a/Library/Homebrew/rubocops/move_to_extend_os.rb +++ b/Library/Homebrew/rubocops/move_to_extend_os.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true module RuboCop diff --git a/Library/Homebrew/rubocops/negate_include.rb b/Library/Homebrew/rubocops/negate_include.rb index ad164c2287131..37ffd6092c51d 100644 --- a/Library/Homebrew/rubocops/negate_include.rb +++ b/Library/Homebrew/rubocops/negate_include.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true module RuboCop diff --git a/Library/Homebrew/rubocops/no_fileutils_rmrf.rb b/Library/Homebrew/rubocops/no_fileutils_rmrf.rb index b1e22cf30f9f9..7ddf6ca5eee03 100644 --- a/Library/Homebrew/rubocops/no_fileutils_rmrf.rb +++ b/Library/Homebrew/rubocops/no_fileutils_rmrf.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true module RuboCop diff --git a/Library/Homebrew/rubocops/patches.rb b/Library/Homebrew/rubocops/patches.rb index 784e7b18a21d1..32d2f87e9e82d 100644 --- a/Library/Homebrew/rubocops/patches.rb +++ b/Library/Homebrew/rubocops/patches.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "rubocops/extend/formula_cop" diff --git a/Library/Homebrew/rubocops/presence.rb b/Library/Homebrew/rubocops/presence.rb index eddb3afe843d0..c924de724ee32 100644 --- a/Library/Homebrew/rubocops/presence.rb +++ b/Library/Homebrew/rubocops/presence.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true module RuboCop diff --git a/Library/Homebrew/rubocops/present.rb b/Library/Homebrew/rubocops/present.rb index 80f8ad18cc61d..c77a2eed5a7ea 100644 --- a/Library/Homebrew/rubocops/present.rb +++ b/Library/Homebrew/rubocops/present.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true module RuboCop diff --git a/Library/Homebrew/rubocops/safe_navigation_with_blank.rb b/Library/Homebrew/rubocops/safe_navigation_with_blank.rb index 8862da6d58697..74f83fe32ad0a 100644 --- a/Library/Homebrew/rubocops/safe_navigation_with_blank.rb +++ b/Library/Homebrew/rubocops/safe_navigation_with_blank.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true module RuboCop diff --git a/Library/Homebrew/rubocops/service.rb b/Library/Homebrew/rubocops/service.rb index be21177c5b216..d7f76b17add58 100644 --- a/Library/Homebrew/rubocops/service.rb +++ b/Library/Homebrew/rubocops/service.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "rubocops/extend/formula_cop" diff --git a/Library/Homebrew/rubocops/shared/desc_helper.rb b/Library/Homebrew/rubocops/shared/desc_helper.rb index d19b4fc3e27eb..ac2504a5f73ae 100644 --- a/Library/Homebrew/rubocops/shared/desc_helper.rb +++ b/Library/Homebrew/rubocops/shared/desc_helper.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "rubocops/shared/helper_functions" diff --git a/Library/Homebrew/rubocops/shared/helper_functions.rb b/Library/Homebrew/rubocops/shared/helper_functions.rb index 7e6d9f66019d8..823d4c26c0dc2 100644 --- a/Library/Homebrew/rubocops/shared/helper_functions.rb +++ b/Library/Homebrew/rubocops/shared/helper_functions.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "rubocop" diff --git a/Library/Homebrew/rubocops/shared/homepage_helper.rb b/Library/Homebrew/rubocops/shared/homepage_helper.rb index 921d9aebe65fc..b0f743190c143 100644 --- a/Library/Homebrew/rubocops/shared/homepage_helper.rb +++ b/Library/Homebrew/rubocops/shared/homepage_helper.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "rubocops/shared/helper_functions" diff --git a/Library/Homebrew/rubocops/shared/on_system_conditionals_helper.rb b/Library/Homebrew/rubocops/shared/on_system_conditionals_helper.rb index 522e5f1dde0c5..8d074add7ab6e 100644 --- a/Library/Homebrew/rubocops/shared/on_system_conditionals_helper.rb +++ b/Library/Homebrew/rubocops/shared/on_system_conditionals_helper.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "macos_version" diff --git a/Library/Homebrew/rubocops/shared/url_helper.rb b/Library/Homebrew/rubocops/shared/url_helper.rb index 7440a365a6e46..b5bad2dfe6f35 100644 --- a/Library/Homebrew/rubocops/shared/url_helper.rb +++ b/Library/Homebrew/rubocops/shared/url_helper.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "rubocops/shared/helper_functions" diff --git a/Library/Homebrew/rubocops/shell_commands.rb b/Library/Homebrew/rubocops/shell_commands.rb index 4d0dac7f7fefb..a776e58e8b98c 100644 --- a/Library/Homebrew/rubocops/shell_commands.rb +++ b/Library/Homebrew/rubocops/shell_commands.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "extend/array" diff --git a/Library/Homebrew/rubocops/text.rb b/Library/Homebrew/rubocops/text.rb index a8ac9bf385822..cc8c5426f4053 100644 --- a/Library/Homebrew/rubocops/text.rb +++ b/Library/Homebrew/rubocops/text.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "rubocops/extend/formula_cop" diff --git a/Library/Homebrew/rubocops/urls.rb b/Library/Homebrew/rubocops/urls.rb index 79acd18116cc1..af13b6cfb5a08 100644 --- a/Library/Homebrew/rubocops/urls.rb +++ b/Library/Homebrew/rubocops/urls.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "rubocops/extend/formula_cop" diff --git a/Library/Homebrew/rubocops/uses_from_macos.rb b/Library/Homebrew/rubocops/uses_from_macos.rb index 34f46ef49b7b5..75552df2ef3a4 100644 --- a/Library/Homebrew/rubocops/uses_from_macos.rb +++ b/Library/Homebrew/rubocops/uses_from_macos.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "rubocops/extend/formula_cop" diff --git a/Library/Homebrew/sbom.rb b/Library/Homebrew/sbom.rb index deb2c43e51da0..6e3e0c2a55486 100644 --- a/Library/Homebrew/sbom.rb +++ b/Library/Homebrew/sbom.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "cxxstdlib" diff --git a/Library/Homebrew/search.rb b/Library/Homebrew/search.rb index 3e78204d09962..606fad7e362d9 100644 --- a/Library/Homebrew/search.rb +++ b/Library/Homebrew/search.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "description_cache_store" diff --git a/Library/Homebrew/service.rb b/Library/Homebrew/service.rb index 7b078236fbbf8..e4f27fd73c0ed 100644 --- a/Library/Homebrew/service.rb +++ b/Library/Homebrew/service.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "ipaddr" diff --git a/Library/Homebrew/settings.rb b/Library/Homebrew/settings.rb index 8a78e72d0a0df..6aee3015da737 100644 --- a/Library/Homebrew/settings.rb +++ b/Library/Homebrew/settings.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "utils/popen" diff --git a/Library/Homebrew/simulate_system.rb b/Library/Homebrew/simulate_system.rb index 9b02b35b15d18..e1b80b84150fb 100644 --- a/Library/Homebrew/simulate_system.rb +++ b/Library/Homebrew/simulate_system.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "macos_version" diff --git a/Library/Homebrew/software_spec.rb b/Library/Homebrew/software_spec.rb index baf07262a3cf8..ebf7821dad9bb 100644 --- a/Library/Homebrew/software_spec.rb +++ b/Library/Homebrew/software_spec.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "attrable" diff --git a/Library/Homebrew/sorbet/parlour.rb b/Library/Homebrew/sorbet/parlour.rb index 66ca7aa820d87..1092e03dd6211 100644 --- a/Library/Homebrew/sorbet/parlour.rb +++ b/Library/Homebrew/sorbet/parlour.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require_relative "../extend/module" diff --git a/Library/Homebrew/standalone/init.rb b/Library/Homebrew/standalone/init.rb index a0dd6c0feae5e..305d8497ad769 100644 --- a/Library/Homebrew/standalone/init.rb +++ b/Library/Homebrew/standalone/init.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:disable Sorbet/StrictSigil # frozen_string_literal: true # This file is included before any other files. It intentionally has typing disabled and has minimal use of `require`. diff --git a/Library/Homebrew/standalone/sorbet.rb b/Library/Homebrew/standalone/sorbet.rb index 9cd7fa24a8df6..9dc4eaacb92a8 100644 --- a/Library/Homebrew/standalone/sorbet.rb +++ b/Library/Homebrew/standalone/sorbet.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "sorbet-runtime" diff --git a/Library/Homebrew/startup/config.rb b/Library/Homebrew/startup/config.rb index 7ef65a1eaae05..7adc85fe87db1 100644 --- a/Library/Homebrew/startup/config.rb +++ b/Library/Homebrew/startup/config.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true raise "HOMEBREW_BREW_FILE was not exported! Please call bin/brew directly!" unless ENV["HOMEBREW_BREW_FILE"] diff --git a/Library/Homebrew/startup/ruby_path.rb b/Library/Homebrew/startup/ruby_path.rb index 35de5267a4b96..d5eb6fc6b7b3d 100644 --- a/Library/Homebrew/startup/ruby_path.rb +++ b/Library/Homebrew/startup/ruby_path.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true RUBY_PATH = Pathname.new(RbConfig.ruby).freeze diff --git a/Library/Homebrew/style.rb b/Library/Homebrew/style.rb index 7793f003e70c2..a23e9b4398a83 100644 --- a/Library/Homebrew/style.rb +++ b/Library/Homebrew/style.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "shellwords" diff --git a/Library/Homebrew/system_command.rb b/Library/Homebrew/system_command.rb index 432043df01043..94601fb4dad9b 100644 --- a/Library/Homebrew/system_command.rb +++ b/Library/Homebrew/system_command.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "attrable" diff --git a/Library/Homebrew/system_config.rb b/Library/Homebrew/system_config.rb index 80f125a37131d..fe0556b50466d 100644 --- a/Library/Homebrew/system_config.rb +++ b/Library/Homebrew/system_config.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "hardware" diff --git a/Library/Homebrew/tab.rb b/Library/Homebrew/tab.rb index 85afd06e63b3c..c4d92d6c66ebe 100644 --- a/Library/Homebrew/tab.rb +++ b/Library/Homebrew/tab.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "cxxstdlib" diff --git a/Library/Homebrew/tap.rb b/Library/Homebrew/tap.rb index 22871a83ad153..8ed3436d69101 100644 --- a/Library/Homebrew/tap.rb +++ b/Library/Homebrew/tap.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "api" diff --git a/Library/Homebrew/tap_auditor.rb b/Library/Homebrew/tap_auditor.rb index 33a577101969b..c1262d50e8dd1 100644 --- a/Library/Homebrew/tap_auditor.rb +++ b/Library/Homebrew/tap_auditor.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true module Homebrew diff --git a/Library/Homebrew/test.rb b/Library/Homebrew/test.rb index 9768baac5f5cc..d20756b75b082 100644 --- a/Library/Homebrew/test.rb +++ b/Library/Homebrew/test.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true raise "#{__FILE__} must not be loaded via `require`." if $PROGRAM_NAME != __FILE__ diff --git a/Library/Homebrew/uninstall.rb b/Library/Homebrew/uninstall.rb index 543e65c376ad2..fd14e8ce8d08e 100644 --- a/Library/Homebrew/uninstall.rb +++ b/Library/Homebrew/uninstall.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "installed_dependents" diff --git a/Library/Homebrew/unversioned_cask_checker.rb b/Library/Homebrew/unversioned_cask_checker.rb index 241e63348d624..657050746983e 100644 --- a/Library/Homebrew/unversioned_cask_checker.rb +++ b/Library/Homebrew/unversioned_cask_checker.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "bundle_version" diff --git a/Library/Homebrew/upgrade.rb b/Library/Homebrew/upgrade.rb index 382fa822a460c..4b2c80c37b992 100644 --- a/Library/Homebrew/upgrade.rb +++ b/Library/Homebrew/upgrade.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "reinstall" diff --git a/Library/Homebrew/url.rb b/Library/Homebrew/url.rb index dc9ef238d161e..e0ccdb9ee8f54 100644 --- a/Library/Homebrew/url.rb +++ b/Library/Homebrew/url.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "version" diff --git a/Library/Homebrew/utils.rb b/Library/Homebrew/utils.rb index 3f24e0445eb9c..aad43bec80604 100644 --- a/Library/Homebrew/utils.rb +++ b/Library/Homebrew/utils.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "context" diff --git a/Library/Homebrew/utils/analytics.rb b/Library/Homebrew/utils/analytics.rb index c4540961a098a..b4c8f4ec3ba07 100644 --- a/Library/Homebrew/utils/analytics.rb +++ b/Library/Homebrew/utils/analytics.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "context" diff --git a/Library/Homebrew/utils/bottles.rb b/Library/Homebrew/utils/bottles.rb index aaaa57fb1939d..73c6b014bee52 100644 --- a/Library/Homebrew/utils/bottles.rb +++ b/Library/Homebrew/utils/bottles.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "tab" diff --git a/Library/Homebrew/utils/curl.rb b/Library/Homebrew/utils/curl.rb index fea66022a317d..2c70ba34a5d2b 100644 --- a/Library/Homebrew/utils/curl.rb +++ b/Library/Homebrew/utils/curl.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "open3" diff --git a/Library/Homebrew/utils/fork.rb b/Library/Homebrew/utils/fork.rb index d37dda94efb15..314aa3d132829 100644 --- a/Library/Homebrew/utils/fork.rb +++ b/Library/Homebrew/utils/fork.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "fcntl" diff --git a/Library/Homebrew/utils/formatter.rb b/Library/Homebrew/utils/formatter.rb index 8bed52b5c195e..245dd716561fe 100644 --- a/Library/Homebrew/utils/formatter.rb +++ b/Library/Homebrew/utils/formatter.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "utils/tty" diff --git a/Library/Homebrew/utils/gems.rb b/Library/Homebrew/utils/gems.rb index 585cfdb94bf93..9ff35808baf73 100644 --- a/Library/Homebrew/utils/gems.rb +++ b/Library/Homebrew/utils/gems.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:disable Sorbet/StrictSigil # frozen_string_literal: true # Never `require` anything in this file (except English). It needs to be able to diff --git a/Library/Homebrew/utils/git.rb b/Library/Homebrew/utils/git.rb index 29edb1cc153ee..cd7649f7defd1 100644 --- a/Library/Homebrew/utils/git.rb +++ b/Library/Homebrew/utils/git.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "system_command" diff --git a/Library/Homebrew/utils/github.rb b/Library/Homebrew/utils/github.rb index cb81b6d66b9e2..667366fbcbb66 100644 --- a/Library/Homebrew/utils/github.rb +++ b/Library/Homebrew/utils/github.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "uri" diff --git a/Library/Homebrew/utils/github/api.rb b/Library/Homebrew/utils/github/api.rb index 324986fce2c6b..1c06a9c82e42d 100644 --- a/Library/Homebrew/utils/github/api.rb +++ b/Library/Homebrew/utils/github/api.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "system_command" diff --git a/Library/Homebrew/utils/inreplace.rb b/Library/Homebrew/utils/inreplace.rb index 6f866382c4c25..24beae198bbff 100644 --- a/Library/Homebrew/utils/inreplace.rb +++ b/Library/Homebrew/utils/inreplace.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "utils/string_inreplace_extension" diff --git a/Library/Homebrew/utils/popen.rb b/Library/Homebrew/utils/popen.rb index 89d41b3da6ece..fea4d9831a5ca 100644 --- a/Library/Homebrew/utils/popen.rb +++ b/Library/Homebrew/utils/popen.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true module Utils diff --git a/Library/Homebrew/utils/pypi.rb b/Library/Homebrew/utils/pypi.rb index 5f55451380669..28b5b847aa51d 100644 --- a/Library/Homebrew/utils/pypi.rb +++ b/Library/Homebrew/utils/pypi.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "utils/inreplace" diff --git a/Library/Homebrew/utils/repology.rb b/Library/Homebrew/utils/repology.rb index cd139933236bc..a382f47f5e408 100644 --- a/Library/Homebrew/utils/repology.rb +++ b/Library/Homebrew/utils/repology.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "utils/curl" diff --git a/Library/Homebrew/utils/ruby_check_version_script.rb b/Library/Homebrew/utils/ruby_check_version_script.rb index cb77d2e4d3324..8a3471269c1a5 100755 --- a/Library/Homebrew/utils/ruby_check_version_script.rb +++ b/Library/Homebrew/utils/ruby_check_version_script.rb @@ -1,5 +1,5 @@ #!/usr/bin/env ruby -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true HOMEBREW_REQUIRED_RUBY_VERSION = ARGV.first.freeze diff --git a/Library/Homebrew/utils/shell.rb b/Library/Homebrew/utils/shell.rb index d514f5914fd0c..cff179c2feaef 100644 --- a/Library/Homebrew/utils/shell.rb +++ b/Library/Homebrew/utils/shell.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true module Utils diff --git a/Library/Homebrew/utils/spdx.rb b/Library/Homebrew/utils/spdx.rb index f44aa54a8ba69..500bf5608b03d 100644 --- a/Library/Homebrew/utils/spdx.rb +++ b/Library/Homebrew/utils/spdx.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "utils/curl" diff --git a/Library/Homebrew/utils/topological_hash.rb b/Library/Homebrew/utils/topological_hash.rb index e3db32d217065..cf7382f42b4c3 100644 --- a/Library/Homebrew/utils/topological_hash.rb +++ b/Library/Homebrew/utils/topological_hash.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "tsort" diff --git a/Library/Homebrew/utils/tty.rb b/Library/Homebrew/utils/tty.rb index 6c9f0d53dceca..f1ebba8a89615 100644 --- a/Library/Homebrew/utils/tty.rb +++ b/Library/Homebrew/utils/tty.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true # Various helper functions for interacting with TTYs. diff --git a/Library/Homebrew/warnings.rb b/Library/Homebrew/warnings.rb index 568808b205cd1..cc9c8a1950b4e 100644 --- a/Library/Homebrew/warnings.rb +++ b/Library/Homebrew/warnings.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "warning" diff --git a/Library/Homebrew/yard/docstring_parser.rb b/Library/Homebrew/yard/docstring_parser.rb index 8528295a8106d..67bebedbee289 100644 --- a/Library/Homebrew/yard/docstring_parser.rb +++ b/Library/Homebrew/yard/docstring_parser.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true # from https://github.com/lsegal/yard/issues/484#issuecomment-442586899 diff --git a/Library/Homebrew/yard/templates/default/docstring/html/setup.rb b/Library/Homebrew/yard/templates/default/docstring/html/setup.rb index d3f34bb3e3685..ab197a0fe6a57 100644 --- a/Library/Homebrew/yard/templates/default/docstring/html/setup.rb +++ b/Library/Homebrew/yard/templates/default/docstring/html/setup.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true # This follows the docs at https://github.com/lsegal/yard/blob/main/docs/Templates.md#setuprb diff --git a/docs/.rubocop.yml b/docs/.rubocop.yml index ca79d9e6ed746..cc101165e6d52 100644 --- a/docs/.rubocop.yml +++ b/docs/.rubocop.yml @@ -36,3 +36,7 @@ Style/TopLevelMethodDefinition: # Formulae and Casks no longer use `rm_f`/`rm_rf`, so the docs need to match. Lint/NonAtomicFileOperation: Enabled: false + +# The markdown linter config files don't need to be typed strict. +Sorbet/StrictSigil: + Enabled: false