# This configuration was generated by # `rubocop --auto-gen-config --auto-gen-only-exclude` # on 2022-09-08 19:46:52 UTC using RuboCop version 0.90.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: - 'deimos-ruby.gemspec' # Offense count: 4 # Cop supports --auto-correct. Layout/EmptyLines: Exclude: - 'spec/schemas/my_namespace/generated.rb' - 'spec/schemas/my_namespace/my_nested_schema.rb' - 'spec/schemas/my_namespace/my_schema_with_circular_reference.rb' - 'spec/schemas/my_namespace/my_schema_with_complex_type.rb' # Offense count: 32 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: empty_lines, empty_lines_except_namespace, empty_lines_special, no_empty_lines, beginning_only, ending_only Layout/EmptyLinesAroundClassBody: Enabled: false # Offense count: 1 # Cop supports --auto-correct. Layout/EmptyLinesAroundMethodBody: Exclude: - 'lib/generators/deimos/schema_class_generator.rb' # Offense count: 42 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyleAlignWith, Severity. # SupportedStylesAlignWith: keyword, variable, start_of_line Layout/EndAlignment: Enabled: false # Offense count: 4 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, IndentationWidth. # SupportedStyles: special_inside_parentheses, consistent, align_braces Layout/FirstHashElementIndentation: Exclude: - 'spec/producer_spec.rb' # Offense count: 19 # 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: - 'spec/consumer_spec.rb' - 'spec/generators/schema_class/my_schema_with_circular_reference_spec.rb' # Offense count: 21 # Cop supports --auto-correct. # Configuration parameters: Width, IgnoredPatterns. Layout/IndentationWidth: Enabled: false # Offense count: 9 # Cop supports --auto-correct. # Configuration parameters: AllowForAlignment, EnforcedStyleForExponentOperator. # SupportedStylesForExponentOperator: space, no_space Layout/SpaceAroundOperators: Exclude: - 'spec/generators/schema_class/my_schema_with_circular_reference_spec.rb' - 'spec/generators/schema_class_generator_spec.rb' - 'spec/schemas/my_namespace/my_schema_with_complex_type.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters. # SupportedStyles: space, no_space # SupportedStylesForEmptyBraces: space, no_space Layout/SpaceInsideBlockBraces: Exclude: - 'spec/generators/schema_class_generator_spec.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces. # SupportedStyles: space, no_space, compact # SupportedStylesForEmptyBraces: space, no_space Layout/SpaceInsideHashLiteralBraces: Exclude: - 'spec/active_record_producer_spec.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: space, no_space Layout/SpaceInsideParens: Exclude: - 'lib/deimos.rb' # Offense count: 23 # Cop supports --auto-correct. # Configuration parameters: AllowInHeredoc. Layout/TrailingWhitespace: Exclude: - 'spec/schemas/my_namespace/generated.rb' - 'spec/schemas/my_namespace/my_nested_schema.rb' - 'spec/schemas/my_namespace/my_schema_with_circular_reference.rb' - 'spec/schemas/my_namespace/my_schema_with_complex_type.rb' # Offense count: 5 Lint/MissingSuper: Exclude: - 'lib/deimos/active_record_consumer.rb' - 'lib/deimos/metrics/datadog.rb' - 'lib/deimos/schema_class/enum.rb' - 'lib/deimos/tracing/datadog.rb' - 'lib/deimos/tracing/mock.rb' # Offense count: 1 # Cop supports --auto-correct. Lint/RedundantCopDisableDirective: Exclude: - 'spec/spec_helper.rb' # Offense count: 3 # Cop supports --auto-correct. # Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods, IgnoreNotImplementedMethods. Lint/UnusedMethodArgument: Exclude: - 'lib/deimos/tracing/mock.rb' - 'spec/schemas/my_namespace/my_schema_with_circular_reference.rb' # Offense count: 1 Lint/UselessAssignment: Exclude: - 'spec/generators/schema_class_generator_spec.rb' # Offense count: 19 # Configuration parameters: IgnoredMethods, Max. Metrics/AbcSize: Exclude: - 'lib/deimos/active_record_consume/message_consumption.rb' - 'lib/deimos/instrumentation.rb' - 'lib/deimos/kafka_source.rb' - 'lib/deimos/kafka_topic_info.rb' - 'lib/deimos/producer.rb' - 'lib/deimos/schema_backends/avro_schema_coercer.rb' - 'lib/deimos/test_helpers.rb' - 'lib/deimos/utils/db_poller.rb' - 'lib/deimos/utils/db_producer.rb' - 'lib/deimos/utils/inline_consumer.rb' - 'lib/deimos/utils/schema_controller_mixin.rb' - 'lib/generators/deimos/schema_class_generator.rb' # Offense count: 5 # Configuration parameters: CountComments, Max, CountAsOne. Metrics/ModuleLength: Exclude: - 'lib/deimos/test_helpers.rb' - 'spec/active_record_batch_consumer_spec.rb' - 'spec/batch_consumer_spec.rb' - 'spec/kafka_source_spec.rb' - 'spec/producer_spec.rb' # Offense count: 6 # Configuration parameters: IgnoredMethods, Max. Metrics/PerceivedComplexity: Exclude: - 'lib/deimos/consume/batch_consumption.rb' - 'lib/deimos/kafka_source.rb' - 'lib/deimos/schema_backends/avro_schema_coercer.rb' - 'lib/deimos/test_helpers.rb' # Offense count: 12 # Configuration parameters: Prefixes. # Prefixes: when, with, without RSpec/ContextWording: Exclude: - 'spec/generators/schema_class_generator_spec.rb' # Offense count: 4 # Configuration parameters: Max. RSpec/ExampleLength: Exclude: - 'spec/config/configuration_spec.rb' - 'spec/utils/db_producer_spec.rb' # Offense count: 6 # Configuration parameters: Max. RSpec/MultipleExpectations: Exclude: - 'spec/active_record_consumer_spec.rb' - 'spec/config/configuration_spec.rb' - 'spec/kafka_topic_info_spec.rb' - 'spec/utils/db_poller_spec.rb' - 'spec/utils/db_producer_spec.rb' # Offense count: 1 Style/Documentation: Exclude: - 'spec/**/*' - 'test/**/*' - 'regenerate_test_schema_classes.rb' # Offense count: 1 # Configuration parameters: RequireForNonPublicMethods. Style/DocumentationMethod: Exclude: - 'spec/**/*' - 'test/**/*' - 'regenerate_test_schema_classes.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: compact, expanded Style/EmptyMethod: Exclude: - 'regenerate_test_schema_classes.rb' # Offense count: 2 # Cop supports --auto-correct. Style/ExplicitBlockArgument: Exclude: - 'lib/deimos/metrics/datadog.rb' - 'lib/deimos/utils/deadlock_retry.rb' # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: always, always_true, never Style/FrozenStringLiteralComment: Exclude: - 'regenerate_test_schema_classes.rb' - 'spec/generators/schema_class/my_schema_spec.rb' # Offense count: 10 # Cop supports --auto-correct. Style/GlobalStdStream: Exclude: - 'lib/deimos/config/configuration.rb' - 'lib/deimos/metrics/mock.rb' - 'lib/deimos/test_helpers.rb' - 'lib/deimos/tracing/mock.rb' - 'lib/deimos/utils/db_producer.rb' - 'lib/tasks/deimos.rake' - 'spec/rake_spec.rb' # Offense count: 1 # Cop supports --auto-correct. Style/HashEachMethods: Exclude: - 'lib/generators/deimos/schema_class_generator.rb' # Offense count: 31 # Cop supports --auto-correct. # Configuration parameters: IgnoreMacros, IgnoredMethods, IgnoredPatterns, IncludedMacros, AllowParenthesesInMultilineCall, AllowParenthesesInChaining, AllowParenthesesInCamelCaseMethod, EnforcedStyle. # SupportedStyles: require_parentheses, omit_parentheses Style/MethodCallWithArgsParentheses: Exclude: - 'lib/deimos/utils/db_poller.rb' - 'lib/deimos/utils/inline_consumer.rb' - 'spec/config/configuration_spec.rb' - 'spec/deimos_spec.rb' - 'spec/generators/schema_class_generator_spec.rb' # Offense count: 1 Style/OptionalBooleanParameter: Exclude: - 'lib/deimos/test_helpers.rb' # Offense count: 1 # Cop supports --auto-correct. Style/RedundantAssignment: Exclude: - 'spec/schemas/my_namespace/my_schema_with_circular_reference.rb' # Offense count: 2 # Cop supports --auto-correct. Style/RedundantBegin: Exclude: - 'lib/deimos.rb' - 'lib/deimos/utils/db_producer.rb' # Offense count: 1 # Cop supports --auto-correct. Style/SingleArgumentDig: Exclude: - 'lib/deimos/active_record_consume/batch_slicer.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: AllowIfMethodIsEmpty. Style/SingleLineMethods: Exclude: - 'regenerate_test_schema_classes.rb' # Offense count: 5 # Cop supports --auto-correct. Style/StringConcatenation: Exclude: - 'spec/producer_spec.rb' - 'spec/utils/schema_controller_mixin_spec.rb' # Offense count: 10 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline. # SupportedStyles: single_quotes, double_quotes Style/StringLiterals: Exclude: - 'lib/generators/deimos/schema_class_generator.rb' - 'lib/tasks/deimos.rake' - 'regenerate_test_schema_classes.rb' - 'spec/schemas/my_namespace/my_schema_with_complex_type.rb' - 'spec/spec_helper.rb' # Offense count: 21 # Cop supports --auto-correct. Style/TrailingBodyOnModule: Enabled: false # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyleForMultiline. # SupportedStylesForMultiline: comma, consistent_comma, no_comma Style/TrailingCommaInHashLiteral: Exclude: - 'spec/config/configuration_spec.rb' # Offense count: 8 # Cop supports --auto-correct. # Configuration parameters: AutoCorrect, Max, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns. # URISchemes: http, https Layout/LineLength: Exclude: - 'lib/deimos/producer.rb' - 'lib/deimos/utils/db_poller.rb' - 'lib/deimos/utils/db_producer.rb' - 'spec/active_record_batch_consumer_spec.rb' - 'spec/generators/schema_class/my_schema_with_circular_reference_spec.rb' - 'spec/generators/schema_class/my_schema_with_complex_types_spec.rb'