73 lines
2.0 KiB
YAML
73 lines
2.0 KiB
YAML
# This configuration was generated by
|
|
# `rubocop --auto-gen-config`
|
|
# on 2017-08-02 01:11:06 -0400 using RuboCop version 0.47.1.
|
|
# The point is for the user to remove these configuration records
|
|
# one by one as the offenses are removed from the code base.
|
|
# Note that changes in the inspected code, or installation of new
|
|
# versions of RuboCop, may require this file to be generated again.
|
|
|
|
# Offense count: 1
|
|
Metrics/AbcSize:
|
|
Max: 16
|
|
|
|
# Offense count: 28
|
|
# Configuration parameters: CountComments, ExcludedMethods.
|
|
Metrics/BlockLength:
|
|
Max: 373
|
|
|
|
# Offense count: 2
|
|
# Configuration parameters: CountComments.
|
|
Metrics/MethodLength:
|
|
Max: 19
|
|
|
|
# Offense count: 8
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
# SupportedStyles: nested, compact
|
|
Style/ClassAndModuleChildren:
|
|
Exclude:
|
|
- 'recipes/api-metadata.rb'
|
|
- 'recipes/api-os-compute.rb'
|
|
- 'recipes/compute.rb'
|
|
- 'recipes/identity_registration.rb'
|
|
- 'recipes/libvirt_rbd.rb'
|
|
- 'recipes/nova-common.rb'
|
|
- 'recipes/nova-setup.rb'
|
|
- 'recipes/placement_api.rb'
|
|
|
|
# Offense count: 7
|
|
Style/Documentation:
|
|
Exclude:
|
|
- 'spec/**/*'
|
|
- 'test/**/*'
|
|
- 'recipes/api-metadata.rb'
|
|
- 'recipes/api-os-compute.rb'
|
|
- 'recipes/compute.rb'
|
|
- 'recipes/identity_registration.rb'
|
|
- 'recipes/libvirt_rbd.rb'
|
|
- 'recipes/nova-setup.rb'
|
|
- 'recipes/placement_api.rb'
|
|
|
|
# Offense count: 3
|
|
# Configuration parameters: MinBodyLength.
|
|
Style/GuardClause:
|
|
Exclude:
|
|
- 'recipes/libvirt.rb'
|
|
|
|
# Offense count: 1
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, MinBodyLength, SupportedStyles.
|
|
# SupportedStyles: skip_modifier_ifs, always
|
|
Style/Next:
|
|
Exclude:
|
|
- 'recipes/libvirt.rb'
|
|
|
|
# Offense count: 8
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles, ConsistentQuotesInMultiline.
|
|
# SupportedStyles: single_quotes, double_quotes
|
|
Style/StringLiterals:
|
|
Exclude:
|
|
- 'spec/identity_registration_spec.rb'
|
|
- 'spec/placement_api_spec.rb'
|
|
- 'spec/spec_helper.rb'
|