rubocops/cask: Clean up unnecessary requires

- I suspect these were copy-pasted from other cops, like I did in
  https://github.com/Homebrew/brew/pull/14886#discussion_r1125569999.
- The "forwardable" require is unnecesary if the cop doesn't
  `extend Forwardable` and use `def_delegator`.
- The "uri" require is unnecessary if the cop doesn't call `URI` methods.
This commit is contained in:
Issy Long 2023-03-05 17:13:46 +00:00
parent b1ef41c25d
commit 1d65c942c3
No known key found for this signature in database
GPG Key ID: 8247C390DADC67D4
2 changed files with 0 additions and 5 deletions

View File

@ -1,8 +1,6 @@
# typed: true
# frozen_string_literal: true
require "forwardable"
require "uri"
require "rubocops/cask/mixin/on_desc_stanza"
require "rubocops/shared/desc_helper"

View File

@ -1,9 +1,6 @@
# typed: true
# frozen_string_literal: true
require "forwardable"
require "uri"
module RuboCop
module Cop
module Cask