mirror of
https://github.com/Homebrew/brew.git
synced 2024-11-25 16:33:34 +08:00
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 <file>..." 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 ```
This commit is contained in:
parent
c8732c6a94
commit
45978435e7
@ -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
|
||||
|
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: true # rubocop:todo Sorbet/StrictSigil
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "forwardable"
|
||||
|
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: true # rubocop:todo Sorbet/StrictSigil
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "api/analytics"
|
||||
|
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: true # rubocop:todo Sorbet/StrictSigil
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Homebrew
|
||||
|
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: true # rubocop:todo Sorbet/StrictSigil
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "extend/cachable"
|
||||
|
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: true # rubocop:todo Sorbet/StrictSigil
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "downloadable"
|
||||
|
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: true # rubocop:todo Sorbet/StrictSigil
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "extend/cachable"
|
||||
|
@ -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.
|
||||
|
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: true # rubocop:todo Sorbet/StrictSigil
|
||||
# frozen_string_literal: true
|
||||
|
||||
# Settings for the build environment.
|
||||
|
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: true # rubocop:todo Sorbet/StrictSigil
|
||||
# frozen_string_literal: true
|
||||
|
||||
# Options for a formula build.
|
||||
|
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: true # rubocop:todo Sorbet/StrictSigil
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "system_command"
|
||||
|
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: true # rubocop:todo Sorbet/StrictSigil
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "json"
|
||||
|
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: true # rubocop:todo Sorbet/StrictSigil
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "attrable"
|
||||
|
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: true # rubocop:todo Sorbet/StrictSigil
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "cask/artifact/abstract_artifact"
|
||||
|
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: true # rubocop:todo Sorbet/StrictSigil
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "timeout"
|
||||
|
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: true # rubocop:todo Sorbet/StrictSigil
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "cask/artifact/symlinked"
|
||||
|
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: true # rubocop:todo Sorbet/StrictSigil
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "cask/artifact/abstract_artifact"
|
||||
|
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: true # rubocop:todo Sorbet/StrictSigil
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "cask/artifact/moved"
|
||||
|
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: true # rubocop:todo Sorbet/StrictSigil
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "cask/artifact/symlinked"
|
||||
|
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: true # rubocop:todo Sorbet/StrictSigil
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "cask/artifact/moved"
|
||||
|
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: true # rubocop:todo Sorbet/StrictSigil
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "cask/artifact/relocated"
|
||||
|
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: true # rubocop:todo Sorbet/StrictSigil
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "plist"
|
||||
|
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: true # rubocop:todo Sorbet/StrictSigil
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "cask/artifact/moved"
|
||||
|
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: true # rubocop:todo Sorbet/StrictSigil
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "cask/artifact/abstract_artifact"
|
||||
|
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: true # rubocop:todo Sorbet/StrictSigil
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "cask/artifact/abstract_artifact"
|
||||
|
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: true # rubocop:todo Sorbet/StrictSigil
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "cask/artifact/relocated"
|
||||
|
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: true # rubocop:todo Sorbet/StrictSigil
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "cask/artifact/abstract_uninstall"
|
||||
|
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: true # rubocop:todo Sorbet/StrictSigil
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "cask/artifact/abstract_uninstall"
|
||||
|
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: true # rubocop:todo Sorbet/StrictSigil
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Cask
|
||||
|
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: true # rubocop:todo Sorbet/StrictSigil
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "attrable"
|
||||
|
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: true # rubocop:todo Sorbet/StrictSigil
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "cask/audit"
|
||||
|
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: true # rubocop:todo Sorbet/StrictSigil
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "attrable"
|
||||
|
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: true # rubocop:todo Sorbet/StrictSigil
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "cask/cache"
|
||||
|
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: true # rubocop:todo Sorbet/StrictSigil
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "utils/user"
|
||||
|
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: true # rubocop:todo Sorbet/StrictSigil
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "json"
|
||||
|
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: true # rubocop:todo Sorbet/StrictSigil
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "downloadable"
|
||||
|
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: true # rubocop:todo Sorbet/StrictSigil
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "attrable"
|
||||
|
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: true # rubocop:todo Sorbet/StrictSigil
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "cask/utils"
|
||||
|
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: true # rubocop:todo Sorbet/StrictSigil
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "attrable"
|
||||
|
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: true # rubocop:todo Sorbet/StrictSigil
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "delegate"
|
||||
|
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: true # rubocop:todo Sorbet/StrictSigil
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "unpack_strategy"
|
||||
|
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: true # rubocop:todo Sorbet/StrictSigil
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "delegate"
|
||||
|
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: true # rubocop:todo Sorbet/StrictSigil
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Cask
|
||||
|
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: true # rubocop:todo Sorbet/StrictSigil
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Cask
|
||||
|
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: true # rubocop:todo Sorbet/StrictSigil
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "attrable"
|
||||
|
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: true # rubocop:todo Sorbet/StrictSigil
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "cask/artifact/relocated"
|
||||
|
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: true # rubocop:todo Sorbet/StrictSigil
|
||||
# frozen_string_literal: true
|
||||
|
||||
module OS
|
||||
|
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: true # rubocop:todo Sorbet/StrictSigil
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Cask
|
||||
|
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: true # rubocop:todo Sorbet/StrictSigil
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "cask/cask_loader"
|
||||
|
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: true # rubocop:todo Sorbet/StrictSigil
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "cask/macos"
|
||||
|
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: true # rubocop:todo Sorbet/StrictSigil
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "development_tools"
|
||||
|
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: true # rubocop:todo Sorbet/StrictSigil
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Cask
|
||||
|
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: true # rubocop:todo Sorbet/StrictSigil
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "utils/user"
|
||||
|
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: true # rubocop:todo Sorbet/StrictSigil
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "tab"
|
||||
|
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: true # rubocop:todo Sorbet/StrictSigil
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Cask
|
||||
|
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: true # rubocop:todo Sorbet/StrictSigil
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "source_location"
|
||||
|
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: true # rubocop:todo Sorbet/StrictSigil
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "utils/user"
|
||||
|
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: true # rubocop:todo Sorbet/StrictSigil
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "requirement"
|
||||
|
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: true # rubocop:todo Sorbet/StrictSigil
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "language/python"
|
||||
|
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: true # rubocop:todo Sorbet/StrictSigil
|
||||
# frozen_string_literal: true
|
||||
|
||||
# Cleans a newly installed keg.
|
||||
|
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: true # rubocop:todo Sorbet/StrictSigil
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "utils/bottles"
|
||||
|
@ -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"
|
||||
|
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: true # rubocop:todo Sorbet/StrictSigil
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "delegate"
|
||||
|
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: true # rubocop:todo Sorbet/StrictSigil
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "abstract_command"
|
||||
|
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: true # rubocop:todo Sorbet/StrictSigil
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "abstract_command"
|
||||
|
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: true # rubocop:todo Sorbet/StrictSigil
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "abstract_command"
|
||||
|
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: true # rubocop:todo Sorbet/StrictSigil
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "abstract_command"
|
||||
|
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: true # rubocop:todo Sorbet/StrictSigil
|
||||
# frozen_string_literal: true
|
||||
|
||||
# Helper functions for commands.
|
||||
|
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: true # rubocop:todo Sorbet/StrictSigil
|
||||
# frozen_string_literal: true
|
||||
|
||||
module CompilerConstants
|
||||
|
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: true # rubocop:todo Sorbet/StrictSigil
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "utils/link"
|
||||
|
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: true # rubocop:todo Sorbet/StrictSigil
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "monitor"
|
||||
|
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: true # rubocop:todo Sorbet/StrictSigil
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "compilers"
|
||||
|
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: true # rubocop:todo Sorbet/StrictSigil
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "attrable"
|
||||
|
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: true # rubocop:todo Sorbet/StrictSigil
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "irb"
|
||||
|
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: true # rubocop:todo Sorbet/StrictSigil
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "options"
|
||||
|
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: true # rubocop:todo Sorbet/StrictSigil
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "delegate"
|
||||
|
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: true # rubocop:todo Sorbet/StrictSigil
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "cask_dependent"
|
||||
|
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: true # rubocop:todo Sorbet/StrictSigil
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "dependable"
|
||||
|
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: true # rubocop:todo Sorbet/StrictSigil
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "dependency"
|
||||
|
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: true # rubocop:todo Sorbet/StrictSigil
|
||||
# frozen_string_literal: true
|
||||
|
||||
# Helper module for handling `disable!` and `deprecate!`.
|
||||
|
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: true # rubocop:todo Sorbet/StrictSigil
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "cache_store"
|
||||
|
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: true # rubocop:todo Sorbet/StrictSigil
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "formula"
|
||||
|
@ -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"
|
||||
|
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: true # rubocop:todo Sorbet/StrictSigil
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "keg"
|
||||
|
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: true # rubocop:todo Sorbet/StrictSigil
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "json"
|
||||
|
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: true # rubocop:todo Sorbet/StrictSigil
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "url"
|
||||
|
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: true # rubocop:todo Sorbet/StrictSigil
|
||||
# frozen_string_literal: true
|
||||
|
||||
# Raised when a command is used wrong.
|
||||
|
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: true # rubocop:todo Sorbet/StrictSigil
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "compilers"
|
||||
|
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: true # rubocop:todo Sorbet/StrictSigil
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "extend/ENV/shared"
|
||||
|
@ -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.
|
||||
|
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: true # rubocop:todo Sorbet/StrictSigil
|
||||
# frozen_string_literal: true
|
||||
|
||||
class IO
|
||||
|
@ -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`.
|
||||
|
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: true # rubocop:todo Sorbet/StrictSigil
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "simulate_system"
|
||||
|
@ -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
|
||||
|
@ -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"
|
||||
|
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: true # rubocop:todo Sorbet/StrictSigil
|
||||
# frozen_string_literal: true
|
||||
|
||||
class DevelopmentTools
|
||||
|
@ -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"
|
||||
|
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: true # rubocop:todo Sorbet/StrictSigil
|
||||
# frozen_string_literal: true
|
||||
|
||||
module SharedEnvExtension
|
||||
|
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: true # rubocop:todo Sorbet/StrictSigil
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Stdenv
|
||||
|
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: true # rubocop:todo Sorbet/StrictSigil
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Superenv
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user