Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove # typed: false sigil in tests #15283

Merged
merged 3 commits into from Apr 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 1 addition & 5 deletions Library/.rubocop.yml
Expand Up @@ -281,11 +281,7 @@ Sorbet/ConstantsFromStrings:
Enabled: false

Sorbet/FalseSigil:
Exclude:
- "Taps/**/*"
- "/**/{Formula,Casks}/**/*.rb"
- "**/{Formula,Casks}/**/*.rb"
- "Homebrew/test/**/Casks/**/*.rb"
Enabled: false

Sorbet/StrictSigil:
inherit_mode:
Expand Down
1 change: 0 additions & 1 deletion Library/Homebrew/test/ENV_spec.rb
@@ -1,4 +1,3 @@
# typed: false
# frozen_string_literal: true

require "extend/ENV"
Expand Down
1 change: 0 additions & 1 deletion Library/Homebrew/test/PATH_spec.rb
@@ -1,4 +1,3 @@
# typed: false
# frozen_string_literal: true

require "PATH"
Expand Down
1 change: 0 additions & 1 deletion Library/Homebrew/test/api/cask_spec.rb
@@ -1,4 +1,3 @@
# typed: false
# frozen_string_literal: true

require "api"
Expand Down
1 change: 0 additions & 1 deletion Library/Homebrew/test/api/formula_spec.rb
@@ -1,4 +1,3 @@
# typed: false
# frozen_string_literal: true

require "api"
Expand Down
1 change: 0 additions & 1 deletion Library/Homebrew/test/api_spec.rb
@@ -1,4 +1,3 @@
# typed: false
# frozen_string_literal: true

require "api"
Expand Down
1 change: 0 additions & 1 deletion Library/Homebrew/test/bash_spec.rb
@@ -1,4 +1,3 @@
# typed: false
# frozen_string_literal: true

require "open3"
Expand Down
1 change: 0 additions & 1 deletion Library/Homebrew/test/bottle_filename_spec.rb
@@ -1,4 +1,3 @@
# typed: false
# frozen_string_literal: true

require "formula"
Expand Down
1 change: 0 additions & 1 deletion Library/Homebrew/test/build_environment_spec.rb
@@ -1,4 +1,3 @@
# typed: false
# frozen_string_literal: true

require "build_environment"
Expand Down
1 change: 0 additions & 1 deletion Library/Homebrew/test/build_options_spec.rb
@@ -1,4 +1,3 @@
# typed: false
# frozen_string_literal: true

require "build_options"
Expand Down
1 change: 0 additions & 1 deletion Library/Homebrew/test/bundle_version_spec.rb
@@ -1,4 +1,3 @@
# typed: false
# frozen_string_literal: true

require "bundle_version"
Expand Down
1 change: 0 additions & 1 deletion Library/Homebrew/test/cache_store_spec.rb
@@ -1,4 +1,3 @@
# typed: false
# frozen_string_literal: true

require "cache_store"
Expand Down
@@ -1,4 +1,3 @@
# typed: false
# frozen_string_literal: true

describe Cask::Artifact::AbstractArtifact, :cask do
Expand Down
1 change: 0 additions & 1 deletion Library/Homebrew/test/cask/artifact/alt_target_spec.rb
@@ -1,4 +1,3 @@
# typed: false
# frozen_string_literal: true

describe Cask::Artifact::App, :cask do
Expand Down
1 change: 0 additions & 1 deletion Library/Homebrew/test/cask/artifact/app_spec.rb
@@ -1,4 +1,3 @@
# typed: false
# frozen_string_literal: true

describe Cask::Artifact::App, :cask do
Expand Down
1 change: 0 additions & 1 deletion Library/Homebrew/test/cask/artifact/binary_spec.rb
@@ -1,4 +1,3 @@
# typed: false
# frozen_string_literal: true

describe Cask::Artifact::Binary, :cask do
Expand Down
@@ -1,4 +1,3 @@
# typed: false
# frozen_string_literal: true

describe Cask::Artifact::Artifact, :cask do
Expand Down
1 change: 0 additions & 1 deletion Library/Homebrew/test/cask/artifact/installer_spec.rb
@@ -1,4 +1,3 @@
# typed: false
# frozen_string_literal: true

describe Cask::Artifact::Installer, :cask do
Expand Down
1 change: 0 additions & 1 deletion Library/Homebrew/test/cask/artifact/manpage_spec.rb
@@ -1,4 +1,3 @@
# typed: false
# frozen_string_literal: true

describe Cask::Artifact::Manpage, :cask do
Expand Down
1 change: 0 additions & 1 deletion Library/Homebrew/test/cask/artifact/pkg_spec.rb
@@ -1,4 +1,3 @@
# typed: false
# frozen_string_literal: true

describe Cask::Artifact::Pkg, :cask do
Expand Down
@@ -1,4 +1,3 @@
# typed: false
# frozen_string_literal: true

describe Cask::Artifact::PostflightBlock, :cask do
Expand Down
@@ -1,4 +1,3 @@
# typed: false
# frozen_string_literal: true

describe Cask::Artifact::PreflightBlock, :cask do
Expand Down
@@ -1,4 +1,3 @@
# typed: false
# frozen_string_literal: true

require "benchmark"
Expand Down
1 change: 0 additions & 1 deletion Library/Homebrew/test/cask/artifact/suite_spec.rb
@@ -1,4 +1,3 @@
# typed: false
# frozen_string_literal: true

describe Cask::Artifact::Suite, :cask do
Expand Down
@@ -1,4 +1,3 @@
# typed: false
# frozen_string_literal: true

describe Cask::Artifact::App, :cask do
Expand Down
@@ -1,4 +1,3 @@
# typed: false
# frozen_string_literal: true

describe Cask::Artifact::Zap, :cask do
Expand Down
1 change: 0 additions & 1 deletion Library/Homebrew/test/cask/artifact/uninstall_spec.rb
@@ -1,4 +1,3 @@
# typed: false
# frozen_string_literal: true

require_relative "shared_examples/uninstall_zap"
Expand Down
1 change: 0 additions & 1 deletion Library/Homebrew/test/cask/artifact/zap_spec.rb
@@ -1,4 +1,3 @@
# typed: false
# frozen_string_literal: true

require_relative "shared_examples/uninstall_zap"
Expand Down
1 change: 0 additions & 1 deletion Library/Homebrew/test/cask/audit_spec.rb
@@ -1,4 +1,3 @@
# typed: false
# frozen_string_literal: true

require "cask/audit"
Expand Down
@@ -1,4 +1,3 @@
# typed: false
# frozen_string_literal: true

describe Cask::CaskLoader::FromAPILoader, :cask do
Expand Down
@@ -1,4 +1,3 @@
# typed: false
# frozen_string_literal: true

describe Cask::CaskLoader::FromContentLoader do
Expand Down
@@ -1,4 +1,3 @@
# typed: false
# frozen_string_literal: true

describe Cask::CaskLoader::FromPathLoader do
Expand Down
@@ -1,4 +1,3 @@
# typed: false
# frozen_string_literal: true

describe Cask::CaskLoader::FromTapLoader do
Expand Down
@@ -1,4 +1,3 @@
# typed: false
# frozen_string_literal: true

describe Cask::CaskLoader::FromURILoader do
Expand Down
1 change: 0 additions & 1 deletion Library/Homebrew/test/cask/cask_spec.rb
@@ -1,4 +1,3 @@
# typed: false
# frozen_string_literal: true

describe Cask::Cask, :cask do
Expand Down
1 change: 0 additions & 1 deletion Library/Homebrew/test/cask/config_spec.rb
@@ -1,4 +1,3 @@
# typed: false
# frozen_string_literal: true

describe Cask::Config, :cask do
Expand Down
1 change: 0 additions & 1 deletion Library/Homebrew/test/cask/conflicts_with_spec.rb
@@ -1,4 +1,3 @@
# typed: false
# frozen_string_literal: true

describe "conflicts_with", :cask do
Expand Down
1 change: 0 additions & 1 deletion Library/Homebrew/test/cask/denylist_spec.rb
@@ -1,4 +1,3 @@
# typed: false
# frozen_string_literal: true

require "cask/denylist"
Expand Down
1 change: 0 additions & 1 deletion Library/Homebrew/test/cask/depends_on_spec.rb
@@ -1,4 +1,3 @@
# typed: false
# frozen_string_literal: true

# TODO: this test should be named after the corresponding class, once
Expand Down
1 change: 0 additions & 1 deletion Library/Homebrew/test/cask/download_spec.rb
@@ -1,4 +1,3 @@
# typed: false
# frozen_string_literal: true

module Cask
Expand Down
1 change: 0 additions & 1 deletion Library/Homebrew/test/cask/dsl/caveats_spec.rb
@@ -1,4 +1,3 @@
# typed: false
# frozen_string_literal: true

require "test/cask/dsl/shared_examples/base"
Expand Down
1 change: 0 additions & 1 deletion Library/Homebrew/test/cask/dsl/container_spec.rb
@@ -1,4 +1,3 @@
# typed: false
# frozen_string_literal: true

require "test/cask/dsl/shared_examples/base"
Expand Down
1 change: 0 additions & 1 deletion Library/Homebrew/test/cask/dsl/postflight_spec.rb
@@ -1,4 +1,3 @@
# typed: false
# frozen_string_literal: true

require "test/cask/dsl/shared_examples/base"
Expand Down
1 change: 0 additions & 1 deletion Library/Homebrew/test/cask/dsl/preflight_spec.rb
@@ -1,4 +1,3 @@
# typed: false
# frozen_string_literal: true

require "test/cask/dsl/shared_examples/base"
Expand Down
1 change: 0 additions & 1 deletion Library/Homebrew/test/cask/dsl/shared_examples/base.rb
@@ -1,4 +1,3 @@
# typed: false
# frozen_string_literal: true

require "cask/dsl/base"
Expand Down
1 change: 0 additions & 1 deletion Library/Homebrew/test/cask/dsl/shared_examples/staged.rb
@@ -1,4 +1,3 @@
# typed: false
# frozen_string_literal: true

require "cask/staged"
Expand Down
@@ -1,4 +1,3 @@
# typed: false
# frozen_string_literal: true

require "test/cask/dsl/shared_examples/base"
Expand Down
1 change: 0 additions & 1 deletion Library/Homebrew/test/cask/dsl/uninstall_preflight_spec.rb
@@ -1,4 +1,3 @@
# typed: false
# frozen_string_literal: true

require "test/cask/dsl/shared_examples/base"
Expand Down
1 change: 0 additions & 1 deletion Library/Homebrew/test/cask/dsl/version_spec.rb
@@ -1,4 +1,3 @@
# typed: false
# frozen_string_literal: true

describe Cask::DSL::Version, :cask do
Expand Down
1 change: 0 additions & 1 deletion Library/Homebrew/test/cask/dsl_spec.rb
@@ -1,4 +1,3 @@
# typed: false
# frozen_string_literal: true

describe Cask::DSL, :cask do
Expand Down
1 change: 0 additions & 1 deletion Library/Homebrew/test/cask/info_spec.rb
@@ -1,4 +1,3 @@
# typed: false
# frozen_string_literal: true

require "utils"
Expand Down
1 change: 0 additions & 1 deletion Library/Homebrew/test/cask/installer_spec.rb
@@ -1,4 +1,3 @@
# typed: false
# frozen_string_literal: true

describe Cask::Installer, :cask do
Expand Down
1 change: 0 additions & 1 deletion Library/Homebrew/test/cask/list_spec.rb
@@ -1,4 +1,3 @@
# typed: false
# frozen_string_literal: true

require "cask/list"
Expand Down
1 change: 0 additions & 1 deletion Library/Homebrew/test/cask/macos_spec.rb
@@ -1,4 +1,3 @@
# typed: false
# frozen_string_literal: true

describe MacOS, :cask do
Expand Down
1 change: 0 additions & 1 deletion Library/Homebrew/test/cask/pkg_spec.rb
@@ -1,4 +1,3 @@
# typed: false
# frozen_string_literal: true

describe Cask::Pkg, :cask do
Expand Down
1 change: 0 additions & 1 deletion Library/Homebrew/test/cask/reinstall_spec.rb
@@ -1,4 +1,3 @@
# typed: false
# frozen_string_literal: true

require "cask/installer"
Expand Down
1 change: 0 additions & 1 deletion Library/Homebrew/test/cask/uninstall_spec.rb
@@ -1,4 +1,3 @@
# typed: false
# frozen_string_literal: true

require "cask/uninstall"
Expand Down
1 change: 0 additions & 1 deletion Library/Homebrew/test/cask/upgrade_spec.rb
@@ -1,4 +1,3 @@
# typed: false
# frozen_string_literal: true

require "cask/upgrade"
Expand Down
1 change: 0 additions & 1 deletion Library/Homebrew/test/cask_dependent_spec.rb
@@ -1,4 +1,3 @@
# typed: false
# frozen_string_literal: true

require "cask/cask_loader"
Expand Down
1 change: 0 additions & 1 deletion Library/Homebrew/test/caveats_spec.rb
@@ -1,4 +1,3 @@
# typed: false
# frozen_string_literal: true

require "formula"
Expand Down
1 change: 0 additions & 1 deletion Library/Homebrew/test/checksum_spec.rb
@@ -1,4 +1,3 @@
# typed: false
# frozen_string_literal: true

require "checksum"
Expand Down
1 change: 0 additions & 1 deletion Library/Homebrew/test/checksum_verification_spec.rb
@@ -1,4 +1,3 @@
# typed: false
# frozen_string_literal: true

require "formula"
Expand Down
1 change: 0 additions & 1 deletion Library/Homebrew/test/cleaner_spec.rb
@@ -1,4 +1,3 @@
# typed: false
# frozen_string_literal: true

require "cleaner"
Expand Down
1 change: 0 additions & 1 deletion Library/Homebrew/test/cleanup_spec.rb
@@ -1,4 +1,3 @@
# typed: false
# frozen_string_literal: true

require "test/support/fixtures/testball"
Expand Down
1 change: 0 additions & 1 deletion Library/Homebrew/test/cli/named_args_spec.rb
@@ -1,4 +1,3 @@
# typed: false
# frozen_string_literal: true

require "cli/named_args"
Expand Down
1 change: 0 additions & 1 deletion Library/Homebrew/test/cli/parser_spec.rb
@@ -1,4 +1,3 @@
# typed: false
# frozen_string_literal: true

require_relative "../../cli/parser"
Expand Down
1 change: 0 additions & 1 deletion Library/Homebrew/test/cmd/--cache_spec.rb
@@ -1,4 +1,3 @@
# typed: false
# frozen_string_literal: true

require "cmd/shared_examples/args_parse"
Expand Down
1 change: 0 additions & 1 deletion Library/Homebrew/test/cmd/--caskroom_spec.rb
@@ -1,4 +1,3 @@
# typed: false
# frozen_string_literal: true

require "cmd/shared_examples/args_parse"
Expand Down
1 change: 0 additions & 1 deletion Library/Homebrew/test/cmd/--cellar_spec.rb
@@ -1,4 +1,3 @@
# typed: false
# frozen_string_literal: true

require "cmd/shared_examples/args_parse"
Expand Down
1 change: 0 additions & 1 deletion Library/Homebrew/test/cmd/--env_spec.rb
@@ -1,4 +1,3 @@
# typed: false
# frozen_string_literal: true

require "cmd/shared_examples/args_parse"
Expand Down
1 change: 0 additions & 1 deletion Library/Homebrew/test/cmd/--prefix_spec.rb
@@ -1,4 +1,3 @@
# typed: false
# frozen_string_literal: true

require "cmd/shared_examples/args_parse"
Expand Down
1 change: 0 additions & 1 deletion Library/Homebrew/test/cmd/--repository_spec.rb
@@ -1,4 +1,3 @@
# typed: false
# frozen_string_literal: true

require "cmd/shared_examples/args_parse"
Expand Down
1 change: 0 additions & 1 deletion Library/Homebrew/test/cmd/--version_spec.rb
@@ -1,4 +1,3 @@
# typed: false
# frozen_string_literal: true

require "cmd/shared_examples/args_parse"
Expand Down
1 change: 0 additions & 1 deletion Library/Homebrew/test/cmd/analytics_spec.rb
@@ -1,4 +1,3 @@
# typed: false
# frozen_string_literal: true

require "cmd/shared_examples/args_parse"
Expand Down
1 change: 0 additions & 1 deletion Library/Homebrew/test/cmd/autoremove_spec.rb
@@ -1,4 +1,3 @@
# typed: false
# frozen_string_literal: true

require "cmd/shared_examples/args_parse"
Expand Down
1 change: 0 additions & 1 deletion Library/Homebrew/test/cmd/bundle_spec.rb
@@ -1,4 +1,3 @@
# typed: false
# frozen_string_literal: true

describe "brew bundle", :integration_test do
Expand Down
1 change: 0 additions & 1 deletion Library/Homebrew/test/cmd/cleanup_spec.rb
@@ -1,4 +1,3 @@
# typed: false
# frozen_string_literal: true

require "cmd/shared_examples/args_parse"
Expand Down
1 change: 0 additions & 1 deletion Library/Homebrew/test/cmd/commands_spec.rb
@@ -1,4 +1,3 @@
# typed: false
# frozen_string_literal: true

require "cmd/commands"
Expand Down