# This configuration was generated by # `rubocop --auto-gen-config` # on 2020-08-07 04:33:26 UTC using RuboCop version 0.89.0. # 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 # Configuration parameters: Include. # Include: **/*.gemspec Gemspec/RequiredRubyVersion: Exclude: - 'gitlab-fog-azure-rm.gemspec' # Offense count: 23 # Cop supports --auto-correct. Layout/EmptyLineAfterGuardClause: Enabled: false # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: AllowAliasSyntax, AllowedMethods. # AllowedMethods: alias_method, public, protected, private Layout/EmptyLinesAroundAttributeAccessor: Exclude: - 'lib/fog/azurerm/models/storage/file.rb' # Offense count: 2 # Configuration parameters: EnforcedStyle. # SupportedStyles: native, lf, crlf Layout/EndOfLine: Exclude: - 'lib/fog/azurerm/models/resources/azure_resource.rb' - 'lib/fog/azurerm/models/resources/azure_resources.rb' # Offense count: 13 # Cop supports --auto-correct. # Configuration parameters: AllowMultipleStyles, EnforcedHashRocketStyle, EnforcedColonStyle, EnforcedLastArgumentHashStyle. # SupportedHashRocketStyles: key, separator, table # SupportedColonStyles: key, separator, table # SupportedLastArgumentHashStyles: always_inspect, always_ignore, ignore_implicit, ignore_explicit Layout/HashAlignment: Exclude: - 'lib/fog/azurerm/models/storage/file.rb' - 'test/test_helper.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: space, no_space Layout/SpaceAroundEqualsInParameterDefault: Exclude: - 'lib/fog/azurerm/requests/storage/release_container_lease.rb' # Offense count: 1 # Cop supports --auto-correct. Layout/SpaceBeforeComma: Exclude: - 'gitlab-fog-azure-rm.gemspec' # Offense count: 2 Lint/DuplicateMethods: Exclude: - 'lib/fog/azurerm/models/storage/directory.rb' - 'lib/fog/azurerm/models/storage/file.rb' # Offense count: 2 Lint/RescueException: Exclude: - 'lib/fog/azurerm/models/storage/directories.rb' - 'lib/fog/azurerm/requests/storage/check_container_exists.rb' # Offense count: 3 Lint/UselessAssignment: Exclude: - 'lib/fog/azurerm/storage.rb' - 'test/integration/container.rb' # Offense count: 1 # Configuration parameters: CheckForMethodsWithNoSideEffects. Lint/Void: Exclude: - 'lib/fog/azurerm/models/storage/directory.rb' # Offense count: 30 # Configuration parameters: IgnoredMethods. Metrics/AbcSize: Max: 66 # Offense count: 11 # Configuration parameters: CountComments, CountAsOne. Metrics/ClassLength: Max: 250 # Offense count: 9 # Configuration parameters: IgnoredMethods. Metrics/CyclomaticComplexity: Max: 14 # Offense count: 98 # Configuration parameters: CountComments, CountAsOne, ExcludedMethods. Metrics/MethodLength: Max: 115 # Offense count: 1 # Configuration parameters: CountKeywordArgs. Metrics/ParameterLists: Max: 6 # Offense count: 9 # Configuration parameters: IgnoredMethods. Metrics/PerceivedComplexity: Max: 14 # Offense count: 9 Naming/ConstantName: Exclude: - 'lib/fog/azurerm/models/storage/kind.rb' - 'lib/fog/azurerm/models/storage/sku_name.rb' - 'lib/fog/azurerm/models/storage/sku_tier.rb' # Offense count: 38 # Cop supports --auto-correct. # Configuration parameters: PreferredName. Naming/RescuedExceptionsVariableName: Enabled: false # Offense count: 13 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: separated, grouped Style/AccessorGrouping: Exclude: - 'lib/fog/azurerm/requests/storage/save_page_blob.rb' - 'test/test_helper.rb' # Offense count: 2 # Cop supports --auto-correct. Style/ExpandPathArguments: Exclude: - 'gitlab-fog-azure-rm.gemspec' - 'lib/fog/azurerm/utilities/general.rb' # Offense count: 2 # Cop supports --auto-correct. Style/ExplicitBlockArgument: Exclude: - 'lib/fog/azurerm/models/storage/files.rb' # Offense count: 117 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: always, always_true, never Style/FrozenStringLiteralComment: Enabled: false # Offense count: 3 # Cop supports --auto-correct. Style/IfUnlessModifier: Exclude: - 'lib/fog/azurerm/requests/storage/compare_container_blobs.rb' - 'lib/fog/azurerm/requests/storage/wait_blob_copy_operation_to_finish.rb' # Offense count: 1 # Cop supports --auto-correct. Style/MultilineIfModifier: Exclude: - 'lib/fog/azurerm/models/resources/dependency.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: AllowedMethods. # AllowedMethods: be, be_a, be_an, be_between, be_falsey, be_kind_of, be_instance_of, be_truthy, be_within, eq, eql, end_with, include, match, raise_error, respond_to, start_with Style/NestedParenthesizedCalls: Exclude: - 'test/test_helper.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: AutoCorrect, EnforcedStyle, IgnoredMethods. # SupportedStyles: predicate, comparison Style/NumericPredicate: Exclude: - 'spec/**/*' - 'lib/fog/azurerm/requests/storage/get_blob.rb' # Offense count: 2 Style/OptionalBooleanParameter: Exclude: - 'lib/fog/azurerm/async_response.rb' - 'lib/fog/azurerm/utilities/general.rb' # Offense count: 36 # Cop supports --auto-correct. # Configuration parameters: PreferredDelimiters. Style/PercentLiteralDelimiters: Exclude: - 'lib/fog/azurerm/models/storage/directory.rb' - 'lib/fog/azurerm/models/storage/file.rb' - 'lib/fog/azurerm/models/storage/files.rb' - 'lib/fog/azurerm/requests/storage/copy_blob.rb' - 'lib/fog/azurerm/requests/storage/copy_blob_from_uri.rb' - 'test/api_stub/requests/storage/file.rb' - 'test/test_helper.rb' # Offense count: 48 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: compact, exploded Style/RaiseArgs: Enabled: false # Offense count: 1 # Cop supports --auto-correct. Style/RedundantBegin: Exclude: - 'lib/fog/azurerm/storage.rb' # Offense count: 16 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: implicit, explicit Style/RescueStandardError: Exclude: - 'lib/fog/azurerm/models/storage/files.rb' - 'lib/fog/azurerm/requests/storage/create_block_blob.rb' - 'lib/fog/azurerm/requests/storage/multipart_save_block_blob.rb' - 'lib/fog/azurerm/requests/storage/save_page_blob.rb' - 'lib/fog/azurerm/requests/storage/wait_blob_copy_operation_to_finish.rb' - 'test/integration/blob.rb' - 'test/integration/container.rb' - 'test/integration/storage_account.rb' # Offense count: 3 # Cop supports --auto-correct. # Configuration parameters: ConvertCodeThatCanStartToReturnNil, AllowedMethods. # AllowedMethods: present?, blank?, presence, try, try! Style/SafeNavigation: Exclude: - 'test/integration/blob.rb' - 'test/integration/container.rb' - 'test/integration/storage_account.rb' # Offense count: 2 # Cop supports --auto-correct. Style/StringConcatenation: Exclude: - 'test/integration/blob.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline. # SupportedStyles: single_quotes, double_quotes Style/StringLiterals: Exclude: - 'gitlab-fog-azure-rm.gemspec' # Offense count: 9 # Cop supports --auto-correct. # Configuration parameters: MinSize. # SupportedStyles: percent, brackets Style/SymbolArray: EnforcedStyle: brackets # Offense count: 257 # Cop supports --auto-correct. # Configuration parameters: AutoCorrect, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns. # URISchemes: http, https Layout/LineLength: Max: 1242