(MAINT) Change Rubocop Screening

Screen out redundant begin block rubocop compliance checks as these
are causing vsphere.rb and pool_manager.rb to fail with differing
ruby version checks.
This commit is contained in:
John O'Connor 2020-05-07 15:03:16 +01:00
parent a2a3bb7dfd
commit ab92eb366d

View file

@ -51,6 +51,10 @@ Metrics/ModuleLength:
Style/WordArray: Style/WordArray:
Enabled: false Enabled: false
# RedundantBegin is causing lib/pool_manager & vsphere.rb to fail in Ruby 2.5+
Style/RedundantBegin:
Enabled: false
# Either sytnax for regex is ok # Either sytnax for regex is ok
Style/RegexpLiteral: Style/RegexpLiteral:
Enabled: false Enabled: false