diff --git a/Library/.rubocop.yml b/Library/.rubocop.yml index 45fcd31a91..3746bc98aa 100644 --- a/Library/.rubocop.yml +++ b/Library/.rubocop.yml @@ -301,10 +301,6 @@ Sorbet/StrictSigil: Include: - "**/*.rbi" -# Conflicts with type signatures on `attr_*`s. -Style/AccessorGrouping: - Enabled: false - # Require &&/|| instead of and/or Style/AndOr: EnforcedStyle: always diff --git a/Library/Homebrew/utils/pypi.rb b/Library/Homebrew/utils/pypi.rb index f81c8e904c..3fa0277588 100644 --- a/Library/Homebrew/utils/pypi.rb +++ b/Library/Homebrew/utils/pypi.rb @@ -18,9 +18,7 @@ module PyPI class Package extend T::Sig - attr_accessor :name - attr_accessor :extras - attr_accessor :version + attr_accessor :name, :extras, :version sig { params(package_string: String, is_url: T::Boolean).void } def initialize(package_string, is_url: false)