From 9586473f77555aa6b7f62ab7b4cba2384f7d61f8 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Fri, 17 May 2024 14:25:54 +0900 Subject: [PATCH] brew style --fix --- Library/Homebrew/cask/artifact_set.rb | 2 -- Library/Homebrew/cleanup.rb | 1 - Library/Homebrew/cli/parser.rb | 1 - Library/Homebrew/description_cache_store.rb | 1 - Library/Homebrew/env_config.rb | 2 -- Library/Homebrew/global.rb | 1 - Library/Homebrew/linkage_cache_store.rb | 1 - 7 files changed, 9 deletions(-) diff --git a/Library/Homebrew/cask/artifact_set.rb b/Library/Homebrew/cask/artifact_set.rb index e3d45a9178..6657ff823a 100644 --- a/Library/Homebrew/cask/artifact_set.rb +++ b/Library/Homebrew/cask/artifact_set.rb @@ -1,8 +1,6 @@ # typed: true # frozen_string_literal: true -require "set" - module Cask # Sorted set containing all cask artifacts. class ArtifactSet < ::Set diff --git a/Library/Homebrew/cleanup.rb b/Library/Homebrew/cleanup.rb index eb3f8728d4..b400922f47 100644 --- a/Library/Homebrew/cleanup.rb +++ b/Library/Homebrew/cleanup.rb @@ -6,7 +6,6 @@ require "utils/bottles" require "attrable" require "formula" require "cask/cask_loader" -require "set" module Homebrew # Helper class for cleaning up the Homebrew cache. diff --git a/Library/Homebrew/cli/parser.rb b/Library/Homebrew/cli/parser.rb index cbcd5d763c..60ccbd25c5 100644 --- a/Library/Homebrew/cli/parser.rb +++ b/Library/Homebrew/cli/parser.rb @@ -6,7 +6,6 @@ require "env_config" require "cask/config" require "cli/args" require "optparse" -require "set" require "utils/tty" module Homebrew diff --git a/Library/Homebrew/description_cache_store.rb b/Library/Homebrew/description_cache_store.rb index 24f1ed07f5..178025f7d5 100644 --- a/Library/Homebrew/description_cache_store.rb +++ b/Library/Homebrew/description_cache_store.rb @@ -1,7 +1,6 @@ # typed: true # frozen_string_literal: true -require "set" require "cache_store" # diff --git a/Library/Homebrew/env_config.rb b/Library/Homebrew/env_config.rb index f3f5ca26f9..155c80660b 100644 --- a/Library/Homebrew/env_config.rb +++ b/Library/Homebrew/env_config.rb @@ -1,8 +1,6 @@ # typed: true # frozen_string_literal: true -require "set" - module Homebrew # Helper module for querying Homebrew-specific environment variables. # diff --git a/Library/Homebrew/global.rb b/Library/Homebrew/global.rb index ad3b832b5b..df1b48b2ec 100644 --- a/Library/Homebrew/global.rb +++ b/Library/Homebrew/global.rb @@ -8,7 +8,6 @@ require "fileutils" require "json" require "json/add/exception" require "forwardable" -require "set" require "extend/array" require "extend/blank" diff --git a/Library/Homebrew/linkage_cache_store.rb b/Library/Homebrew/linkage_cache_store.rb index 45bb9bc3d0..10b1425336 100644 --- a/Library/Homebrew/linkage_cache_store.rb +++ b/Library/Homebrew/linkage_cache_store.rb @@ -1,7 +1,6 @@ # typed: true # frozen_string_literal: true -require "set" require "cache_store" #