From 45978435e762047110ef572d30f300e07c51794d Mon Sep 17 00:00:00 2001 From: Issy Long Date: Mon, 12 Aug 2024 10:30:59 +0100 Subject: [PATCH] rubocop: Use `Sorbet/StrictSigil` as it's better than comments - Previously I thought that comments were fine to discourage people from wasting their time trying to bump things that used `undef` that Sorbet didn't support. But RuboCop is better at this since it'll complain if the comments are unnecessary. - Suggested in https://github.com/Homebrew/brew/pull/18018#issuecomment-2283369501. - I've gone for a mixture of `rubocop:disable` for the files that can't be `typed: strict` (use of undef, required before everything else, etc) and `rubocop:todo` for everything else that should be tried to make strictly typed. There's no functional difference between the two as `rubocop:todo` is `rubocop:disable` with a different name. - And I entirely disabled the cop for the docs/ directory since `typed: strict` isn't going to gain us anything for some Markdown linting config files. - This means that now it's easier to track what needs to be done rather than relying on checklists of files in our big Sorbet issue: ```shell $ git grep 'typed: true # rubocop:todo Sorbet/StrictSigil' | wc -l 268 ``` - And this is confirmed working for new files: ```shell $ git status On branch use-rubocop-for-sorbet-strict-sigils Untracked files: (use "git add ..." to include in what will be committed) Library/Homebrew/bad.rb Library/Homebrew/good.rb nothing added to commit but untracked files present (use "git add" to track) $ brew style Offenses: bad.rb:1:1: C: Sorbet/StrictSigil: Sorbet sigil should be at least strict got true. ^^^^^^^^^^^^^ 1340 files inspected, 1 offense detected ``` --- Library/.rubocop.yml | 10 +++++----- Library/Homebrew/PATH.rb | 2 +- Library/Homebrew/api.rb | 2 +- Library/Homebrew/api/analytics.rb | 2 +- Library/Homebrew/api/cask.rb | 2 +- Library/Homebrew/api/download.rb | 2 +- Library/Homebrew/api/formula.rb | 2 +- Library/Homebrew/build.rb | 2 +- Library/Homebrew/build_environment.rb | 2 +- Library/Homebrew/build_options.rb | 2 +- Library/Homebrew/bundle_version.rb | 2 +- Library/Homebrew/cache_store.rb | 2 +- Library/Homebrew/cask/artifact/abstract_artifact.rb | 2 +- .../Homebrew/cask/artifact/abstract_flight_block.rb | 2 +- Library/Homebrew/cask/artifact/abstract_uninstall.rb | 2 +- Library/Homebrew/cask/artifact/binary.rb | 2 +- Library/Homebrew/cask/artifact/installer.rb | 2 +- Library/Homebrew/cask/artifact/keyboard_layout.rb | 2 +- Library/Homebrew/cask/artifact/manpage.rb | 2 +- Library/Homebrew/cask/artifact/mdimporter.rb | 2 +- Library/Homebrew/cask/artifact/moved.rb | 2 +- Library/Homebrew/cask/artifact/pkg.rb | 2 +- Library/Homebrew/cask/artifact/qlplugin.rb | 2 +- Library/Homebrew/cask/artifact/relocated.rb | 2 +- Library/Homebrew/cask/artifact/stage_only.rb | 2 +- Library/Homebrew/cask/artifact/symlinked.rb | 2 +- Library/Homebrew/cask/artifact/uninstall.rb | 2 +- Library/Homebrew/cask/artifact/zap.rb | 2 +- Library/Homebrew/cask/artifact_set.rb | 2 +- Library/Homebrew/cask/audit.rb | 2 +- Library/Homebrew/cask/auditor.rb | 2 +- Library/Homebrew/cask/cask.rb | 2 +- Library/Homebrew/cask/cask_loader.rb | 2 +- Library/Homebrew/cask/caskroom.rb | 2 +- Library/Homebrew/cask/config.rb | 2 +- Library/Homebrew/cask/download.rb | 2 +- Library/Homebrew/cask/dsl.rb | 2 +- Library/Homebrew/cask/dsl/base.rb | 2 +- Library/Homebrew/cask/dsl/caveats.rb | 2 +- Library/Homebrew/cask/dsl/conflicts_with.rb | 2 +- Library/Homebrew/cask/dsl/container.rb | 2 +- Library/Homebrew/cask/dsl/depends_on.rb | 2 +- Library/Homebrew/cask/dsl/version.rb | 2 +- Library/Homebrew/cask/exceptions.rb | 2 +- Library/Homebrew/cask/installer.rb | 2 +- Library/Homebrew/cask/list.rb | 2 +- Library/Homebrew/cask/macos.rb | 2 +- Library/Homebrew/cask/metadata.rb | 2 +- Library/Homebrew/cask/migrator.rb | 2 +- Library/Homebrew/cask/pkg.rb | 2 +- Library/Homebrew/cask/quarantine.rb | 2 +- Library/Homebrew/cask/reinstall.rb | 2 +- Library/Homebrew/cask/staged.rb | 2 +- Library/Homebrew/cask/tab.rb | 2 +- Library/Homebrew/cask/uninstall.rb | 2 +- Library/Homebrew/cask/url.rb | 2 +- Library/Homebrew/cask/utils.rb | 2 +- Library/Homebrew/cask_dependent.rb | 2 +- Library/Homebrew/caveats.rb | 2 +- Library/Homebrew/cleaner.rb | 2 +- Library/Homebrew/cleanup.rb | 2 +- Library/Homebrew/cli/args.rb | 2 +- Library/Homebrew/cli/named_args.rb | 2 +- Library/Homebrew/cmd/deps.rb | 2 +- Library/Homebrew/cmd/fetch.rb | 2 +- Library/Homebrew/cmd/info.rb | 2 +- Library/Homebrew/cmd/update-report.rb | 2 +- Library/Homebrew/commands.rb | 2 +- Library/Homebrew/compilers.rb | 2 +- Library/Homebrew/completions.rb | 2 +- Library/Homebrew/context.rb | 2 +- Library/Homebrew/cxxstdlib.rb | 2 +- Library/Homebrew/debrew.rb | 2 +- Library/Homebrew/debrew/irb.rb | 2 +- Library/Homebrew/dependable.rb | 2 +- Library/Homebrew/dependencies.rb | 2 +- Library/Homebrew/dependencies_helpers.rb | 2 +- Library/Homebrew/dependency.rb | 2 +- Library/Homebrew/dependency_collector.rb | 2 +- Library/Homebrew/deprecate_disable.rb | 2 +- Library/Homebrew/description_cache_store.rb | 2 +- Library/Homebrew/descriptions.rb | 2 +- Library/Homebrew/dev-cmd/extract.rb | 2 +- Library/Homebrew/diagnostic.rb | 2 +- Library/Homebrew/download_strategy.rb | 2 +- Library/Homebrew/downloadable.rb | 2 +- Library/Homebrew/exceptions.rb | 2 +- Library/Homebrew/extend/ENV/shared.rb | 2 +- Library/Homebrew/extend/ENV/super.rb | 2 +- Library/Homebrew/extend/api_hashable.rb | 2 +- Library/Homebrew/extend/io.rb | 2 +- Library/Homebrew/extend/kernel.rb | 2 +- Library/Homebrew/extend/on_system.rb | 2 +- Library/Homebrew/extend/os/linux/cleanup.rb | 2 +- .../Homebrew/extend/os/linux/dependency_collector.rb | 2 +- Library/Homebrew/extend/os/linux/development_tools.rb | 2 +- Library/Homebrew/extend/os/linux/diagnostic.rb | 2 +- Library/Homebrew/extend/os/linux/extend/ENV/shared.rb | 2 +- Library/Homebrew/extend/os/linux/extend/ENV/std.rb | 2 +- Library/Homebrew/extend/os/linux/extend/ENV/super.rb | 2 +- Library/Homebrew/extend/os/linux/formula.rb | 2 +- Library/Homebrew/extend/os/linux/formula_installer.rb | 2 +- Library/Homebrew/extend/os/linux/hardware/cpu.rb | 2 +- Library/Homebrew/extend/os/linux/install.rb | 2 +- Library/Homebrew/extend/os/linux/keg.rb | 2 +- Library/Homebrew/extend/os/linux/keg_relocate.rb | 2 +- Library/Homebrew/extend/os/linux/linkage_checker.rb | 2 +- Library/Homebrew/extend/os/linux/parser.rb | 2 +- Library/Homebrew/extend/os/linux/simulate_system.rb | 2 +- Library/Homebrew/extend/os/linux/system_config.rb | 2 +- Library/Homebrew/extend/os/mac/cleaner.rb | 2 +- Library/Homebrew/extend/os/mac/cleanup.rb | 2 +- Library/Homebrew/extend/os/mac/dependency_collector.rb | 2 +- Library/Homebrew/extend/os/mac/dev-cmd/bottle.rb | 2 +- Library/Homebrew/extend/os/mac/development_tools.rb | 2 +- Library/Homebrew/extend/os/mac/diagnostic.rb | 2 +- Library/Homebrew/extend/os/mac/extend/ENV/std.rb | 2 +- Library/Homebrew/extend/os/mac/extend/ENV/super.rb | 2 +- Library/Homebrew/extend/os/mac/formula.rb | 2 +- Library/Homebrew/extend/os/mac/formula_installer.rb | 2 +- Library/Homebrew/extend/os/mac/hardware/cpu.rb | 2 +- Library/Homebrew/extend/os/mac/keg.rb | 2 +- Library/Homebrew/extend/os/mac/keg_relocate.rb | 2 +- Library/Homebrew/extend/os/mac/linkage_checker.rb | 2 +- Library/Homebrew/extend/os/mac/readall.rb | 2 +- Library/Homebrew/extend/os/mac/simulate_system.rb | 2 +- Library/Homebrew/extend/os/mac/system_config.rb | 2 +- Library/Homebrew/extend/pathname.rb | 2 +- Library/Homebrew/formula.rb | 2 +- Library/Homebrew/formula_auditor.rb | 2 +- Library/Homebrew/formula_cellar_checks.rb | 2 +- Library/Homebrew/formula_creator.rb | 2 +- Library/Homebrew/formula_info.rb | 2 +- Library/Homebrew/formula_installer.rb | 2 +- Library/Homebrew/formula_name_cask_token_auditor.rb | 2 +- Library/Homebrew/formula_pin.rb | 2 +- Library/Homebrew/formula_support.rb | 2 +- Library/Homebrew/formula_versions.rb | 2 +- Library/Homebrew/formulary.rb | 2 +- Library/Homebrew/github_packages.rb | 2 +- Library/Homebrew/global.rb | 2 +- Library/Homebrew/hardware.rb | 2 +- Library/Homebrew/help.rb | 2 +- Library/Homebrew/ignorable.rb | 2 +- Library/Homebrew/install.rb | 2 +- Library/Homebrew/install_renamed.rb | 2 +- Library/Homebrew/installed_dependents.rb | 2 +- Library/Homebrew/keg.rb | 2 +- Library/Homebrew/keg_relocate.rb | 2 +- Library/Homebrew/lazy_object.rb | 2 +- Library/Homebrew/linkage_cache_store.rb | 2 +- Library/Homebrew/linkage_checker.rb | 2 +- Library/Homebrew/locale.rb | 2 +- Library/Homebrew/lock_file.rb | 2 +- Library/Homebrew/macos_version.rb | 2 +- Library/Homebrew/manpages.rb | 2 +- Library/Homebrew/manpages/converter/kramdown.rb | 2 +- Library/Homebrew/manpages/converter/roff.rb | 2 +- Library/Homebrew/manpages/parser/ronn.rb | 2 +- Library/Homebrew/migrator.rb | 2 +- Library/Homebrew/mktemp.rb | 2 +- Library/Homebrew/options.rb | 2 +- Library/Homebrew/os/linux.rb | 2 +- Library/Homebrew/os/linux/elf.rb | 2 +- Library/Homebrew/os/linux/glibc.rb | 2 +- Library/Homebrew/os/mac.rb | 2 +- Library/Homebrew/os/mac/keg.rb | 2 +- Library/Homebrew/os/mac/mach.rb | 2 +- Library/Homebrew/os/mac/sdk.rb | 2 +- Library/Homebrew/os/mac/xcode.rb | 2 +- Library/Homebrew/patch.rb | 2 +- Library/Homebrew/pkg_version.rb | 2 +- Library/Homebrew/reinstall.rb | 2 +- Library/Homebrew/requirement.rb | 2 +- Library/Homebrew/requirements/arch_requirement.rb | 2 +- Library/Homebrew/requirements/codesign_requirement.rb | 2 +- Library/Homebrew/requirements/macos_requirement.rb | 2 +- Library/Homebrew/requirements/xcode_requirement.rb | 2 +- Library/Homebrew/resource.rb | 2 +- Library/Homebrew/resource_auditor.rb | 2 +- Library/Homebrew/rubocops/blank.rb | 2 +- Library/Homebrew/rubocops/bottle.rb | 2 +- .../Homebrew/rubocops/cask/array_alphabetization.rb | 2 +- Library/Homebrew/rubocops/cask/ast/cask_block.rb | 2 +- Library/Homebrew/rubocops/cask/ast/cask_header.rb | 2 +- Library/Homebrew/rubocops/cask/ast/stanza.rb | 2 +- Library/Homebrew/rubocops/cask/constants/stanza.rb | 2 +- Library/Homebrew/rubocops/cask/desc.rb | 2 +- Library/Homebrew/rubocops/cask/discontinued.rb | 2 +- Library/Homebrew/rubocops/cask/extend/node.rb | 2 +- Library/Homebrew/rubocops/cask/homepage_url_styling.rb | 2 +- Library/Homebrew/rubocops/cask/mixin/cask_help.rb | 2 +- Library/Homebrew/rubocops/cask/mixin/on_desc_stanza.rb | 2 +- .../Homebrew/rubocops/cask/mixin/on_homepage_stanza.rb | 2 +- Library/Homebrew/rubocops/cask/mixin/on_url_stanza.rb | 2 +- Library/Homebrew/rubocops/cask/no_overrides.rb | 2 +- .../Homebrew/rubocops/cask/on_system_conditionals.rb | 2 +- Library/Homebrew/rubocops/cask/shared_filelist_glob.rb | 2 +- Library/Homebrew/rubocops/cask/stanza_grouping.rb | 2 +- Library/Homebrew/rubocops/cask/stanza_order.rb | 2 +- Library/Homebrew/rubocops/cask/url.rb | 2 +- .../rubocops/cask/url_legacy_comma_separators.rb | 2 +- Library/Homebrew/rubocops/cask/variables.rb | 2 +- Library/Homebrew/rubocops/checksum.rb | 2 +- Library/Homebrew/rubocops/compact_blank.rb | 2 +- Library/Homebrew/rubocops/components_order.rb | 2 +- Library/Homebrew/rubocops/conflicts.rb | 2 +- Library/Homebrew/rubocops/dependency_order.rb | 2 +- Library/Homebrew/rubocops/deprecate_disable.rb | 2 +- Library/Homebrew/rubocops/desc.rb | 2 +- Library/Homebrew/rubocops/extend/formula_cop.rb | 2 +- Library/Homebrew/rubocops/install_bundler_gems.rb | 2 +- Library/Homebrew/rubocops/io_read.rb | 2 +- Library/Homebrew/rubocops/keg_only.rb | 2 +- Library/Homebrew/rubocops/lines.rb | 2 +- Library/Homebrew/rubocops/move_to_extend_os.rb | 2 +- Library/Homebrew/rubocops/negate_include.rb | 2 +- Library/Homebrew/rubocops/no_fileutils_rmrf.rb | 2 +- Library/Homebrew/rubocops/patches.rb | 2 +- Library/Homebrew/rubocops/presence.rb | 2 +- Library/Homebrew/rubocops/present.rb | 2 +- .../Homebrew/rubocops/safe_navigation_with_blank.rb | 2 +- Library/Homebrew/rubocops/service.rb | 2 +- Library/Homebrew/rubocops/shared/desc_helper.rb | 2 +- Library/Homebrew/rubocops/shared/helper_functions.rb | 2 +- Library/Homebrew/rubocops/shared/homepage_helper.rb | 2 +- .../rubocops/shared/on_system_conditionals_helper.rb | 2 +- Library/Homebrew/rubocops/shared/url_helper.rb | 2 +- Library/Homebrew/rubocops/shell_commands.rb | 2 +- Library/Homebrew/rubocops/text.rb | 2 +- Library/Homebrew/rubocops/urls.rb | 2 +- Library/Homebrew/rubocops/uses_from_macos.rb | 2 +- Library/Homebrew/sbom.rb | 2 +- Library/Homebrew/search.rb | 2 +- Library/Homebrew/service.rb | 2 +- Library/Homebrew/settings.rb | 2 +- Library/Homebrew/simulate_system.rb | 2 +- Library/Homebrew/software_spec.rb | 2 +- Library/Homebrew/sorbet/parlour.rb | 2 +- Library/Homebrew/standalone/init.rb | 2 +- Library/Homebrew/standalone/sorbet.rb | 2 +- Library/Homebrew/startup/config.rb | 2 +- Library/Homebrew/startup/ruby_path.rb | 2 +- Library/Homebrew/style.rb | 2 +- Library/Homebrew/system_command.rb | 2 +- Library/Homebrew/system_config.rb | 2 +- Library/Homebrew/tab.rb | 2 +- Library/Homebrew/tap.rb | 2 +- Library/Homebrew/tap_auditor.rb | 2 +- Library/Homebrew/test.rb | 2 +- Library/Homebrew/uninstall.rb | 2 +- Library/Homebrew/unversioned_cask_checker.rb | 2 +- Library/Homebrew/upgrade.rb | 2 +- Library/Homebrew/url.rb | 2 +- Library/Homebrew/utils.rb | 2 +- Library/Homebrew/utils/analytics.rb | 2 +- Library/Homebrew/utils/bottles.rb | 2 +- Library/Homebrew/utils/curl.rb | 2 +- Library/Homebrew/utils/fork.rb | 2 +- Library/Homebrew/utils/formatter.rb | 2 +- Library/Homebrew/utils/gems.rb | 2 +- Library/Homebrew/utils/git.rb | 2 +- Library/Homebrew/utils/github.rb | 2 +- Library/Homebrew/utils/github/api.rb | 2 +- Library/Homebrew/utils/inreplace.rb | 2 +- Library/Homebrew/utils/popen.rb | 2 +- Library/Homebrew/utils/pypi.rb | 2 +- Library/Homebrew/utils/repology.rb | 2 +- Library/Homebrew/utils/ruby_check_version_script.rb | 2 +- Library/Homebrew/utils/shell.rb | 2 +- Library/Homebrew/utils/spdx.rb | 2 +- Library/Homebrew/utils/topological_hash.rb | 2 +- Library/Homebrew/utils/tty.rb | 2 +- Library/Homebrew/warnings.rb | 2 +- Library/Homebrew/yard/docstring_parser.rb | 2 +- .../yard/templates/default/docstring/html/setup.rb | 2 +- docs/.rubocop.yml | 4 ++++ 277 files changed, 284 insertions(+), 280 deletions(-) diff --git a/Library/.rubocop.yml b/Library/.rubocop.yml index 829dd2dcdc..66c08e5248 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 4a3fd4c458..af5513d6b4 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 4caf17e825..e6851fcefc 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 da1803f888..ee8d36a933 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 082b2c67fd..03b94f848a 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 28f8068dee..cd74c2b33d 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 bb5f89eb57..0baaa94e9d 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 6e5de2cead..b71d0e55af 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 d2028f2c62..b63cebb006 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 ccc3117386..1baf70938e 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 7592277120..9ff4b253fc 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 04ea3471cb..11426ef5ea 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 e722d0bc0f..a424a8080c 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 5c8c4daec7..497f1afdf1 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 fcb8cd77bd..1b9bde4b5d 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 cb349c8f3c..aab9616be4 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 76b18abb3d..4b7bda3f8c 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 37160ee357..b1e72ccaaf 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 de56dee06e..170a0904d3 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 204699acd4..f2774fc971 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 b6fe5c893f..7a98a9161b 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 8c6e400086..7c4ce514a6 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 ad7643def9..605303c360 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 4bfaf185aa..1ff075e8cd 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 1f4b12be9e..5a1cb6f9d0 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 1de7e715dd..170ecc5367 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 cbb3b9cd78..e136b05b8f 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 052149986a..0da02e1985 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 6657ff823a..517debcd25 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 c69433d915..e903d558de 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 7b5424e8f1..f79de72185 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 0e8a1f9c00..37c0c4ad07 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 843c0d3415..81646dc579 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 1c2d4dd091..5f086e86c2 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 7b91ceb2c4..30a5c521cb 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 cf71a16fa2..075396a47e 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 1c7c8a6e9f..32021a702c 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 b849665a40..900889a59e 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 d3dd2744a6..5872cb7910 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 c4a43116c4..dcf8a84b51 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 54bc3bc4e8..0ddcb8a6f1 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 31ff402d55..2aaad1d6b5 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 30f8ebcd64..9613879652 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 aa4e91863d..6430517a48 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 33dcb9168a..1b5433dae1 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 2333ae620e..519123f876 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 8db4eeeb0a..ac1a2349b9 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 eabb22275a..271845c48b 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 ae97769f6d..9f15da316c 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 0540d8427e..39f13c54f7 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 2fdd99c98f..6af81b6aeb 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 7fa966fc1e..bad643b380 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 613c3e42c1..83f2da1415 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 4cf359b33a..f7e12a3bcb 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 bd17ff7bbf..ebfc74ee27 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 ca79267196..64c9cdb40d 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 2fe99ae3fa..f401e4a5e3 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 36c28c5e2c..cdea653623 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 4db27d7a87..745c21038e 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 4b38ab91d7..d81022029c 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 da64f43ad6..7b80a9f2e5 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 70eda0ea05..5a313b5249 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 4928d4a011..763c5dda1a 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 6e535c4bd8..fab09e12ac 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 168c671d4d..96eca371d3 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 4d550a8ffd..d213dd9c8d 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 4d664f2d5b..46891ec815 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 e191990082..29fd1b9469 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 0e315871bc..33c1f3aad8 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 b1eafb3f10..af795741cb 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 46f57a0ce5..382f609063 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 a87523c472..e863b226bb 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 15d514e084..5679d2ccfb 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 5b204a576c..a18f892225 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 570309d540..f0d089491c 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 6eec3de36e..3e8bd125e8 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 7b0f4dc0e5..989fdc43ea 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 79a3c5684f..ac17ea2500 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 1710cda8da..50dc74434f 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 7303382f8a..ce794c29c7 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 fe634b8dd3..4804a2bfea 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 967c0d7c22..63b28cefa8 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 d4295b829c..48d6e3ac1f 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 e67008744c..a2507d200a 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 171c1d33cb..39b81a1073 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 5a1d4dbd02..9a82d99f4e 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 de9b1ebbd3..26fcca498a 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 86f871aeff..b07cb2a432 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 7a3677bd88..2462e7cbbb 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 9deb491cbc..e1e4098e95 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 383b8213c9..0195626bd1 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 0d27cee937..64555e576c 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 711396b1b8..3d6b97b95f 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 85f0c3e667..40a9dff6b8 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 135edc6593..80362457b2 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 49f34e3840..5766df623e 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 468a6b6587..0c91eb4cf9 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 0d157d1954..2d42c97b9c 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 434ec586ee..ba2fa12309 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 ad6d1e10a9..f0aa87920e 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 1efa971637..a6914a1f02 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 d1286b8a74..718e4bf302 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 1ae24e1d73..c90bd86de8 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 e4476a00b8..ab4a490146 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 0f30b67899..28860c0bfb 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 7456803b2f..6b53cd5e15 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 387edc8e7c..c2392f7d7b 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 849a84d73e..6458173df0 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 007f2c4e83..106cbc0eb5 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 39b4d31477..8f99163454 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 5ca8a8243a..a91283da88 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 32e5363190..6ede0bcd7a 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 42024fc41f..5483178f56 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 9743384f46..413d50f87a 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 524f084f53..7f3f111a71 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 d15864840e..85ce31de16 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 78840f57dc..c312eb1125 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 391a706698..ec10a7e06e 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 f474deef38..c8a880832f 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 8b96c112a9..67b4de7e58 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 20caa82f8a..b81e0c2b66 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 9c3a79de42..67009e2f38 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 bd91805932..bccadd74db 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 fedb73be7a..5844d645cf 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 fcd34fc892..ca27d9a8d6 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 7272b56bc4..c9b9050fca 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 a41fa5331e..fc698df453 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 d8b98bafb2..1f8cd606dd 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 19415dc8c1..c4132b8fbe 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 73fc8e69c0..300e5808f5 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 e220e77dee..17f642b17a 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 34aeceb2a3..0a11048186 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 ea61e7b601..7ec8734e4e 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 10c562bad8..ec6a4345e0 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 2789db89f6..0115cd9f29 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 0889866b70..3682bcb3e4 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 77c3a84056..9380275617 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 be56bb1bcc..62a650fd0b 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 9c998487ef..67ae6b78ad 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 4e5ca77c4d..a74a1e1548 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 9ac55d5fed..46ab618ab5 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 1d50182560..a4b085398c 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 b6ce40666b..88b6e297ba 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 15d1c8213a..624dd2269c 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 fa6d55ef2b..795192b3a0 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 9651ec2cc7..5e4b0fd40b 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 0633af8869..14eaf239a0 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 1cc9ee16c7..f6a051a954 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 d691c635eb..46170cd448 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 364b10f872..9f755d9faa 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 10b1425336..5a9c251535 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 2250e1a90a..32f7676d24 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 b6cda9a6e7..49b28c0795 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 4df5b0466b..3f37bddaaf 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 7b4502db2e..b3a3444a4e 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 6b90a1c186..f49184cf12 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 413308edbb..448d4d45a3 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 b4f88b53b9..6023365368 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 fae27addb7..36cddd6111 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 ce40e3c9d3..f44517d457 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 2d03ec6fca..043bfc28b0 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 6d7d0dfd9d..e1d5653db9 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 2e2752c7bb..7f5c32d85a 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 9376bdf047..91c4407670 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 caa392f889..eff5a25a8e 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 360fb7c1e5..3a65aeab2f 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 9e692e64b1..127633ee87 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 bb5893e672..a632b3d128 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 efea57282a..a8540fbe0a 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 584872212e..7b23b832c3 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 2f7cceae95..6aacc0254b 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 b29a52de81..6e29244d0e 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 39ad82d292..78e74dc709 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 d8df3552e9..9edd6a9a23 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 1b501f11fb..65940a9946 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 119ea2f79c..d486fec2b8 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 acaa9d12f7..3189259b8a 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 687119d8b9..0d74f0e945 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 7c4d6e773e..61ce2eb408 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 795b2cbe9f..ce92f9d9b3 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 b32f1f9412..f71839eafb 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 567702bd82..0255f1e4ae 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 ddbd872e4a..2237052fce 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 f04aa1033b..943c09185a 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 8604c16e24..2b4ed0ef1e 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 d793076060..a85ceecd52 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 64c524d015..2e911fc9e2 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 6d8a742079..64149fc0eb 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 a2c87748cd..76bd287ada 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 463a1ad6fd..8abc568ec0 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 46a853eeb6..98820f5c73 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 661f218b7d..edea7f4919 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 7a1050d6b9..032a900095 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 4340bcaa7c..26b6bd2191 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 73c83e7837..ad2223644b 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 03ba9a7c4a..0493246252 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 d6a267e4ba..eab312a8b5 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 24c4b6c07c..bd4122dcd3 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 d5d3b90f76..dacf469404 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 dfbb6e9432..ab9fc96e39 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 c051b03b3f..79ed4cb869 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 6428b91eb8..3111361a50 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 8a641291f7..adf73e6889 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 de661974ab..c1776b2d74 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 9603abb675..b020db3447 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 900d751fb9..14ccb3973e 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 e1cb4caa89..36eadf0465 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 0085d6f141..3f9a343d6d 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 ff6e02cdc8..127ec5de57 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 3f69f08461..c68ac5d8e8 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 eca8e3627b..bc771d8523 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 c65a2931a4..f10bf15f9d 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 46ad7e1320..7e20f3e7b5 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 98ce1c0611..765f05ba3b 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 2c1ef8103c..5bb8666f2b 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 a017758946..00aa8742c6 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 ad164c2287..37ffd6092c 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 b1e22cf30f..7ddf6ca5ee 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 784e7b18a2..32d2f87e9e 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 eddb3afe84..c924de724e 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 80f8ad18cc..c77a2eed5a 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 8862da6d58..74f83fe32a 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 be21177c5b..d7f76b17ad 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 d19b4fc3e2..ac2504a5f7 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 7e6d9f6601..823d4c26c0 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 921d9aebe6..b0f743190c 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 522e5f1dde..8d074add7a 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 7440a365a6..b5bad2dfe6 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 4d0dac7f7f..a776e58e8b 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 a8ac9bf385..cc8c5426f4 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 79acd18116..af13b6cfb5 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 34f46ef49b..75552df2ef 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 deb2c43e51..6e3e0c2a55 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 3e78204d09..606fad7e36 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 7b078236fb..e4f27fd73c 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 8a78e72d0a..6aee3015da 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 9b02b35b15..e1b80b8415 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 baf07262a3..ebf7821dad 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 66ca7aa820..1092e03dd6 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 a0dd6c0fea..305d8497ad 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 9cd7fa24a8..9dc4eaacb9 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 7ef65a1eaa..7adc85fe87 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 35de5267a4..d5eb6fc6b7 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 7793f003e7..a23e9b4398 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 432043df01..94601fb4da 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 80f125a371..fe0556b504 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 85afd06e63..c4d92d6c66 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 22871a83ad..8ed3436d69 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 33a5771019..c1262d50e8 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 9768baac5f..d20756b75b 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 543e65c376..fd14e8ce8d 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 241e63348d..6570507469 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 382fa822a4..4b2c80c37b 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 dc9ef238d1..e0ccdb9ee8 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 3f24e0445e..aad43bec80 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 c4540961a0..b4c8f4ec3b 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 aaaa57fb19..73c6b014be 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 fea66022a3..2c70ba34a5 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 d37dda94ef..314aa3d132 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 8bed52b5c1..245dd71656 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 585cfdb94b..9ff35808ba 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 29edb1cc15..cd7649f7de 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 cb81b6d66b..667366fbcb 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 324986fce2..1c06a9c82e 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 6f866382c4..24beae198b 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 89d41b3da6..fea4d9831a 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 5f55451380..28b5b847aa 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 cd13993323..a382f47f5e 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 cb77d2e4d3..8a3471269c 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 d514f5914f..cff179c2fe 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 f44aa54a8b..500bf5608b 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 e3db32d217..cf7382f42b 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 6c9f0d53dc..f1ebba8a89 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 568808b205..cc9c8a1950 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 8528295a81..67bebedbee 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 d3f34bb3e3..ab197a0fe6 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 ca79d9e6ed..cc101165e6 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