Fix RuboCop and exclude psych from RBI generation

This commit is contained in:
Issy Long 2024-04-03 00:12:28 +01:00
parent 1daeb5bee0
commit f2a64f3808
No known key found for this signature in database
3 changed files with 3 additions and 3 deletions

View File

@ -48,9 +48,9 @@ group :style, optional: true do
gem "rubocop-sorbet", require: false
end
group :tests, optional: true do
gem "psych", "< 5", require: false
gem "debug", require: false
gem "parallel_tests", require: false
gem "psych", "< 5", require: false
gem "rspec", require: false
gem "rspec-github", require: false
gem "rspec_junit_formatter", require: false

View File

@ -6,7 +6,6 @@ gem:
- json
- msgpack
# These aren't needed:
- byebug
- coderay
- commander
- debug
@ -19,6 +18,7 @@ gem:
- language_server-protocol
- netrc
- parallel
- psych
- public_suffix
- racc
- rdoc

View File

@ -230,7 +230,7 @@ RSpec.configure do |config|
@__stdin = $stdin.clone
begin
if !example.metadata.keys.include?(:focus) && !ENV.key?("HOMEBREW_VERBOSE_TESTS")
if example.metadata.keys.exclude?(:focus) && !ENV.key?("HOMEBREW_VERBOSE_TESTS")
$stdout.reopen(File::NULL)
$stderr.reopen(File::NULL)
$stdin.reopen(File::NULL)