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

sorbet: Comment more files that can't be strict because of undef #17997

Merged
merged 1 commit into from
Aug 9, 2024
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Library/Homebrew/cli/args.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# typed: true
# typed: true # This cannot be `# typed: strict` due to the use of `undef`.
# frozen_string_literal: true

require "ostruct"
Expand Down
2 changes: 1 addition & 1 deletion Library/Homebrew/extend/os/linux/cleanup.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# typed: true
# typed: true # This cannot be `# typed: strict` due to the use of `undef`.
# frozen_string_literal: true

module Homebrew
Expand Down
2 changes: 1 addition & 1 deletion Library/Homebrew/extend/os/linux/dependency_collector.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# typed: true
# typed: true # This cannot be `# typed: strict` due to the use of `undef`.
# frozen_string_literal: true

require "os/linux/glibc"
Expand Down
2 changes: 1 addition & 1 deletion Library/Homebrew/extend/os/linux/diagnostic.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# typed: true
# typed: true # This cannot be `# typed: strict` due to the use of `undef`.
# frozen_string_literal: true

require "tempfile"
Expand Down
2 changes: 1 addition & 1 deletion Library/Homebrew/extend/os/linux/formula.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# typed: true
# typed: true # This cannot be `# typed: strict` due to the use of `undef`.
# frozen_string_literal: true

class Formula
Expand Down
2 changes: 1 addition & 1 deletion Library/Homebrew/extend/os/linux/formula_installer.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# typed: true
# typed: true # This cannot be `# typed: strict` due to the use of `undef`.
# frozen_string_literal: true

class FormulaInstaller
Expand Down
2 changes: 1 addition & 1 deletion Library/Homebrew/extend/os/linux/keg.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# typed: true
# typed: true # This cannot be `# typed: strict` due to the use of `undef`.
# frozen_string_literal: true

class Keg
Expand Down
2 changes: 1 addition & 1 deletion Library/Homebrew/extend/os/linux/parser.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# typed: true
# typed: true # This cannot be `# typed: strict` due to the use of `undef`.
# frozen_string_literal: true

module Homebrew
Expand Down
2 changes: 1 addition & 1 deletion Library/Homebrew/extend/os/linux/simulate_system.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# typed: true
# typed: true # This cannot be `# typed: strict` due to the use of `undef`.
# frozen_string_literal: true

module Homebrew
Expand Down
2 changes: 1 addition & 1 deletion Library/Homebrew/extend/os/mac/cleaner.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# typed: true
# typed: true # This cannot be `# typed: strict` due to the use of `undef`.
# frozen_string_literal: true

class Cleaner
Expand Down
2 changes: 1 addition & 1 deletion Library/Homebrew/extend/os/mac/cleanup.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# typed: true
# typed: true # This cannot be `# typed: strict` due to the use of `undef`.
# frozen_string_literal: true

module Homebrew
Expand Down
2 changes: 1 addition & 1 deletion Library/Homebrew/extend/os/mac/dependency_collector.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# typed: true
# typed: true # This cannot be `# typed: strict` due to the use of `undef`.
# frozen_string_literal: true

class DependencyCollector
Expand Down
2 changes: 1 addition & 1 deletion Library/Homebrew/extend/os/mac/dev-cmd/bottle.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# typed: true
# typed: true # This cannot be `# typed: strict` due to the use of `undef`.
# frozen_string_literal: true

module Homebrew
Expand Down
2 changes: 1 addition & 1 deletion Library/Homebrew/extend/os/mac/development_tools.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# typed: true
# typed: true # This cannot be `# typed: strict` due to the use of `undef`.
# frozen_string_literal: true

require "os/mac/xcode"
Expand Down
2 changes: 1 addition & 1 deletion Library/Homebrew/extend/os/mac/diagnostic.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# typed: true
# typed: true # This cannot be `# typed: strict` due to the use of `undef`.
# frozen_string_literal: true

module Homebrew
Expand Down
2 changes: 1 addition & 1 deletion Library/Homebrew/extend/os/mac/extend/ENV/std.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# typed: true
# typed: true # This cannot be `# typed: strict` due to the use of `undef`.
# frozen_string_literal: true

module Stdenv
Expand Down
2 changes: 1 addition & 1 deletion Library/Homebrew/extend/os/mac/extend/ENV/super.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# typed: true
# typed: true # This cannot be `# typed: strict` due to the use of `undef`.
# frozen_string_literal: true

module Superenv
Expand Down
2 changes: 1 addition & 1 deletion Library/Homebrew/extend/os/mac/formula.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# typed: true
# typed: true # This cannot be `# typed: strict` due to the use of `undef`.
# frozen_string_literal: true

class Formula
Expand Down
2 changes: 1 addition & 1 deletion Library/Homebrew/extend/os/mac/formula_installer.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# typed: true
# typed: true # This cannot be `# typed: strict` due to the use of `undef`.
# frozen_string_literal: true

class FormulaInstaller
Expand Down
2 changes: 1 addition & 1 deletion Library/Homebrew/extend/os/mac/hardware/cpu.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# typed: true
# typed: true # This cannot be `# typed: strict` due to the use of `undef`.
# frozen_string_literal: true

require "macho"
Expand Down
2 changes: 1 addition & 1 deletion Library/Homebrew/extend/os/mac/keg.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# typed: true
# typed: true # This cannot be `# typed: strict` due to the use of `undef`.
# frozen_string_literal: true

require "system_command"
Expand Down
2 changes: 1 addition & 1 deletion Library/Homebrew/extend/os/mac/keg_relocate.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# typed: true
# typed: true # This cannot be `# typed: strict` due to the use of `undef`.
# frozen_string_literal: true

class Keg
Expand Down
2 changes: 1 addition & 1 deletion Library/Homebrew/extend/os/mac/linkage_checker.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# typed: true
# typed: true # This cannot be `# typed: strict` due to the use of `undef`.
# frozen_string_literal: true

class LinkageChecker
Expand Down
2 changes: 1 addition & 1 deletion Library/Homebrew/extend/os/mac/readall.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# typed: true
# typed: true # This cannot be `# typed: strict` due to the use of `undef`.
# frozen_string_literal: true

module Readall
Expand Down
2 changes: 1 addition & 1 deletion Library/Homebrew/extend/os/mac/simulate_system.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# typed: true
# typed: true # This cannot be `# typed: strict` due to the use of `undef`.
# frozen_string_literal: true

module Homebrew
Expand Down
2 changes: 1 addition & 1 deletion Library/Homebrew/extend/os/mac/system_config.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# typed: true
# typed: true # This cannot be `# typed: strict` due to the use of `undef`.
# frozen_string_literal: true

require "system_command"
Expand Down
2 changes: 1 addition & 1 deletion Library/Homebrew/ignorable.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# typed: true
# typed: true # This cannot be `# typed: strict` due to the use of `undef`.
# frozen_string_literal: true

require "warnings"
Expand Down